JUnit run config across lists of classes

Hi all. I was wondering if it's possible to create a JUnit 4 run configuration including a mixture of "all tests in package X" and "these specific test classes".

I want to be able to create a config that runs all tests in my package, as well as the tests for the DAOs, which live in another package with all the other DAO tests. To do this I need to be able to say "all tests here, plus test A and test B from there".

Any ideas? Do I need to make a TestSuite? And if so, do I lose IDEA's nice presentation of the results? I'm using JUnit 4, if that's any help.

Please sign in to leave a comment.