Running JUnit4 Test classes in specified order
问题 I've written a number of tests, divided not only into separate classes but, depending on what area of my application they're testing, into separate sub-packages. So, my package structure looks a bit like this: my.package.tests my.package.tests.four my.package.tests.one my.package.tests.three my.package.tests.two In the my.package.tests package I have a parent class that all tests in the sub-packages one through four extend. Now, I would like to choose the order in which the tests are run; not