Does JUnit execute test cases sequentially?
问题 In this post, I asked a small question as part of a bigger problem. Since I didn't get responses yet, I put my question here: Is it reasonable to suppose that JUnit executes test cases sequentially: a test case ends befores the next one starts. Does it differ between JUnit versions (my priority is on JUnit4)? And if not, is there a simple way to force JUnit to execute tests sequentially? Thank you 回答1: Yes, by default I believe it runs tests sequentially. JUnit 4.6 introduced an experimental