mpkorstanje commented on pull request #338:
URL: https://github.com/apache/maven-surefire/pull/338#issuecomment-785831716


   Cucumber executes feature files written in Gherkin. A feature file is a set 
of test cases (scenarios) written in plain human readable language. These are 
not naturally executable so for each step in the feature file there must be a 
matching step definition in Java. These are defined in the `StepDefs` class.
   
   So a suite consists of feature files + step definitions.
   
   The class annotated with `@RunWith( Cucumber.class )` (optionally in 
combination with `@CucumberOptions`) defines which feature files and step 
definitions are included in the suite and executes the suite. So the 
`junit47-cucumber` test case consists of 2 suites, each containing 1 feature 
file with 1 scenario each. And 1 step definition class with 4 step definitions 
in total.
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to