#Cucumber-TestNg
##If you ever dreamt about running cucumber test with testng look into this project :).
#Configuration: You need to put configuration file in your project like:
src/test/resources/cucumber.properties with content:
# java package with steps classes in your project
cucumber.steps.package=com.yourpackage
To check you didn't forget to implement TestNG @Test add such additional test:
public class StateTest {
@Test(priority = -1)
public void testState() {
// setup
// act
String result = CucumberTestsStateUtil.checkTests();
// verify
Assert.assertNull(result, result);
}
}