Re: test-junit failed
Gerard Meszaros <[email protected]> Tue, 29 Oct 2013 07:53:05 -0700
| Newsgroups | gmane.comp.java.junit.user |
|---|---|
| Message-ID | <[email protected]> |
A client suspects some of their tests depend on the order of test execution and wants to find out which one. Is there any way to cause all the tests in the entire test suite (not just in one class) to be run in a different order? Ideally, I'd like to run them in reverse order using a command line switch. Failing that, what single place in the code base could I change to affect this? (In JUnit 3.x, one could override a method (runBare?) in the test runner to iterate through the collection of sub-tests in reverse order.) Thanks, Gerard -- Gerard Meszaros Lean/Agile Coach/Mentor/Trainer http://www.gerardmeszaros.com 1-403-827-2967 Author of the Jolt Productivity Award winning book "xUnit Test Patterns - Refactoring Test Code". Learn more at http://xunitpatterns.com/index.html