This is the simplest possible build script setup for Serenity BDD using Java.
This is a very minimal sample project using JUnit and Serenity BDD in Java. You can use this project as a quick starting point for your own projects.
Git:
git clone https://github.com/serenity-bdd/serenity-junit-starter.git
cd serenity-junit-starter
Or simply download a zip file.
Open a command window and run:
mvn clean verify
Open a command window and run:
gradlew test
Both of the commands provided above will produce a Serenity test report in the target/site/serenity
directory. Go take a look!