Get started quickly with Serenity BDD and JUnit 5 with this simple starter project.
Click on the Use This Template button to create a new project in your own GitHub account.
Or simply download a zip file.
The template project comes with both Maven and Gradle build scripts. open a command window and run the following:
mvn clean verify
BrowserName= [Chrome,Firefox,Edge]
mvn clean verify -Dwebdriver.driver=Firefox
Environment= [default,staging,preprod,prod]
mvn clean verify -Denvironment=default
Both of the commands provided above will produce a Serenity test report in the target/site/serenity/index.html or target/site/serenity/serenity-summary.htmldirectory. Take a look!