Skip to content

Latest commit

 

History

History
36 lines (26 loc) · 858 Bytes

README.md

File metadata and controls

36 lines (26 loc) · 858 Bytes

Serenity BDD TodoMVC Demo

This project is a demonstration of how to use Serenity BDD with the Screenplay Pattern to test a web application.

These tests use tasks, actions, questions and page elements defined in src/main/java/net/serenitybdd/demos/todos/screenplay.

The overall project structure is shown below:

+ model
    Domain model classes
+ tasks
    Business-level tasks
+ action
    UI interactions
+ pages
    Page Objects and Page Elements
+ questions
    Objects used to query the application

Running the project

To run the project you'll need JDK 17 and Maven installed.

Screenplay and Cucumber

The first demo shows the integration of Serenity BDD, Screenplay and Cucumber JVM. To run it, execute:

mvn clean verify

Reporting

The Serenity reports will be generated in the target/site/serenity directory.