The content of this method should be extracted to TestNGCucumberRunner to simplify if anyone wants to both want to use composition (like in https://github.com/cucumber/cucumber-jvm/blob/master/examples/java-calculator-testng/src/test/java/cucumber/examples/java/calculator/RunCukesByCompositionTest.java) and get result for each feature separately.