/caffeinate-me-tutorial

Exercises for the Serenity Dojo "BDD with Cucumber and Serenity" course

Primary LanguageJavaApache License 2.0Apache-2.0

Caffeinate Me

CircleCI

This project contains exercises for the Serenity Dojo BDD with Serenity and Cucumber course.

There is a tag for the sample code for each lesson. To

Get the code

Git:

git clone https://github.com/serenity-dojo/caffeinate-me.git
cd caffeinate-me

Use Maven

Open a command window and run:

mvn clean verify

This runs Cucumber features using Cucumber's JUnit runner. The @RunWith(CucumberWithSerenity.class) annotation on the CucumberTestSuite class tells JUnit to kick off Cucumber.

Use Gradle

Open a command window and run:

gradlew test aggregate

This runs Cucumber features using Cucumber's JUnit runner. The @RunWith(CucumberWithSerenity.class) annotation on the CucumberTestSuite class tells JUnit to kick off Cucumber.

Viewing the reports

Both of the commands provided above will produce a Serenity test report in the target/site/serenity directory. Go take a look!