Thanks to visit codestin.com
Credit goes to github.com

Skip to content

yelleshchaparthi/cucumber-testng

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

#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);
    }
}

About

Cucumber integration with TestNG and Maven

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published