JUnitFactoryRunner and @JUnitFactory allow you to create JUnit tests dynamically. Like annotation @Factory in TestNG.