ant test --justOneTestPlease
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Marvin_Humphrey
Posted On:   Tuesday, September 20, 2005 06:10 PM

Greets,

I'm working on some junit test cases for Lucene. I'd like to run just the one test I'm working on rather than the whole suite. I'm a Java newbie but a Perl oldbie, so here's what I'd do in Perl.

			
perl -Mblib t/just_this_test.t


There's also a way to do it with make:

			
make test TEST_FILES=t/just_this_test.t


How do I make this work in Ant?

Thanks!

Re: ant test --justOneTestPlease

Posted By:   Jani_Kaarela  
Posted On:   Wednesday, September 21, 2005 02:15 AM

See junit task in the Ant Manual. Towards the end of the task documentation, there are examples, which should give you a pretty clear picture.


BTW, did you RTFM before posting? *evil grin*

About | Sitemap | Contact