In the current IDEA 10 JUnit Run/Debug configuration, there is a "Pattern" option, which as far as I understand it, only allows a pipe separated list of fully qualified class names. Which this is handy, it would be most excellent if it could also accept type globs.
So for instance, if I have a project which defines different sets of tests based on a naming convention, I could simply define a JUnit Run/Debug Configuration for each of the naming conventions, for instance com.company.*.*UnitTest and com.company.*.*IntegrationTest, etc., and have the test runner pick up the current list of classes matching the pattern before each run.
The pain we currently have is that we have many many tests in each category, so it is difficult to create configurations which include some tests and exclude others.
How do other developers deal with this? We would prefer not to separate our tests into separate test source roots for each different type of test.