Tagging Cucumber Tests
Use tags with Cucumber features and scenarios to control which tests run by default, allowing custom behaviour for different build circumstances.
Use tags with Cucumber features and scenarios to control which tests run by default, allowing custom behaviour for different build circumstances.
Produce living documentation from your Cucumber features and scenarios by using plugins for reporting test results in HTML, JSON or XML.
Running Cucumber tests via JUnit will ensure that they run each time the project is built ensuring no behaviours will be broken by changing code.
Let's add step definition code that binds Cucumber specifications to actual code and will perform all the actions for each test.
Add behavioural test scenarios with Cucumber, written in the Given/When/Then style, to create human readable tests and living documentation.