Testing with

Site Test Scripts download

Testing

Executing Tests

Simply run: mvn test

mvn test -Dbrowser=chrome

Creating a project

The easiest way to start a new project is to use Maven as described in the Getting Started pages

In the below example change hellocucumber to the name of the project you want to create

mvn archetype:generate                      \
   "-DarchetypeGroupId=io.cucumber"           \
   "-DarchetypeArtifactId=cucumber-archetype" \
   "-DarchetypeVersion=7.12.0"               \
   "-DgroupId=hellocucumber"                  \
   "-DartifactId=hellocucumber"               \
   "-Dpackage=hellocucumber"                  \
   "-Dversion=1.0.0-SNAPSHOT"                 \
   "-DinteractiveMode=false"

Use IntelliJ for coding, especially as it handles the pom created above.