Is it possible to specify in the JUnit Run configuration in Eclipse a name pattern (say **/integration/*Test) that should be excluded from the test run when running all tests of a project?
Looking at options in the Run/Debug Configuration I presume this question could be reduced to: is it possible exclude certain tests based on junit runner command line parameters.
I'm not interested in creating (and maintaining) Test Suites.
Another alternative solution (still not interested in that one, though) is to create to separate directories containing test files:
- yourProject/tests
- yourProject/integration-tests
and selecting that directory in order to run all tests in it (or changing the "Run all tests in the selected project, package or source folder" in the Test tab of the Run Configuration).
I'm using:
- Eclipse 3.5
- JUnit 4
Any tips/advice greatly appreciated!