I have a test class MyTestClass
with several typical test methods that do assertions or check for exceptions and are annotated with @Test
. They run wh
I think you probably want to look at JUnit Categories. There are other answers that detail how to execute specific categories from ant.
How to run all JUnit tests in a category/suite with Ant?
How to run all tests belonging to a certain Category in JUnit 4
Some external links that may be of use:
Grouping tests using JUnit categories
A Closer Look at JUnit Categories