Closed rcpaul closed 9 years ago
I'm just wondering, is there a better way to ensure that the tests are run in the correct order? What if we rename them?
Surefire defaults to executing tests in the order they are reported by the file system and there is no global rule that defines this order. There might be another way of telling Surefire to run PlaceManagerImpl2Test
before PlaceManagerImplTest
that I'm unaware of however. The best way of course would be to make all tests independent but I think that requires some more work.
I agree with @christiangoudreau that it's not future-proof. We should investigate and make the tests independent.
Done. See #727. Closing this pull request since it has become irrelevant.
This pull request addresses issue #725. With the added surefire plugin configuration, we make sure tests are always run in the same order which in this case (alphabetical) also happens to be the 'correct' order.