Custom Runner in JUnit 4 for executing selected methods in customized order

View the Project on GitHub


JUnit runner for executing selected test methods in provided order..


Install the artifact into Maven local.

mvn clean install

Add the dependency in your pom.


Create test suite as below:

public class SelectiveTest {

I needed this wrapper for a class project for testing prioritization techniques in Java.