wood burning stoves 2.0*
The moose likes Ant, Maven and Other Build Tools and the fly likes Ant with JUnit Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Ant with JUnit" Watch "Ant with JUnit" New topic

Ant with JUnit

Tiago Fernandez
Ranch Hand

Joined: May 16, 2003
Posts: 167
Hey folks,
I'm wonderin' if you know some way to write a task that compile and run a bunch of JUnit tests that is spread into different packages. When I put all my tests into a specific package or make a TestSuite that encloses all of them it works fine, but my problem is that I got unit tests named as Test*** all over the application. I was thinkin' if is possible to write a test that look for any test class from base directory that begins with the string "Test". Anybody can help me?
Tks a lot!

Tiago Fernandez
Lewin Chan
Ranch Hand

Joined: Oct 10, 2001
Posts: 214

Pulled straight out of the latest ant documentation

I have no java certifications. This makes me a bad programmer. Ignore my post.
Tiago Fernandez
Ranch Hand

Joined: May 16, 2003
Posts: 167
Thanks man, I will try it this monday and take a look at the documentation
I agree. Here's the link: http://aspose.com/file-tools
subject: Ant with JUnit
Similar Threads
JUnitEE vs Cactus
System Tests
junit tests for spring batch jobs
How important is testing our test cases ?
what I can do with junit ??