Skip to content

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

License

Notifications You must be signed in to change notification settings

bdd-in-action/caffeinate-me-tutorial

 
 

Repository files navigation

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!

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 84.7%
  • Gherkin 15.3%