I want to execute test methods which are annotated by @Test in specific order.
@Test
For example:
public class MyTest { @Test public void
The (as yet unreleased) change https://github.com/junit-team/junit/pull/386 introduces a @SortMethodsWith. https://github.com/junit-team/junit/pull/293 at least made the order predictable without that (in Java 7 it can be quite random).
@SortMethodsWith