AW: How to run a single junit test method with ant

2013-05-14 Thread jhm
Here is a skeleton which could be what you need. ant test -Dtestclass=xy -Dtestmethod=xy : runs the testmethod in that test class ant test -Dtestclass=xy : runs all tests in that test class ant test-Dtestmethod=xy : invalid as the class must be

AW: How to run a single junit test method with ant

2013-05-11 Thread jhm
Basic idea is - specify the test to run via command line property (-Dtestcase=...) - test-targets depends on two targets running a single test or the whole test suite - that two targets are conditional according to that property Jan > -Ursprüngliche Nachricht- > Von: Matt Ben