I am currently using JUnit 4 and have a need to divide my tests into groups that can be run selectively in any combination. I know TestNG has a feature to annotate tests to assi
JUnit 3 allows you to create test-suites which can be run like any other test. Doesn't JUnit 4 have a similar concept?
JUnit has no such runner at the moment. Addressing the underlying issue, the need to get reasonable assurance from a test suite in a limited amount of time, is our highest development priority for the next release. In the meantime, implementing a Filter that works through annotations seems like it wouldn't be a big project, although I'm biased.
If you're using ANT or maven, you can control which tests are run by filtering the tests by name. A bit awkward, but it might work for you.