Skip to content

An example of Screenplay pattern with Java, Serenity and Cucumber for web UI automated tests

License

Notifications You must be signed in to change notification settings

donatas-b/j-screenplay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

j-screenplay

This is an example of Screenplay pattern for web UI test automation. The tests are utilizing XYZ Bank application.

Project is using Java with Serenity BDD, Cucumber and JUnit.

Executing the tests

To run the sample project, you can either just run the Tests test runner class, use maven from the command line or run feature/ scenario individually from e.g. IntelliJ.

By default, the tests will run using Chrome. This and other configuration values can be changed in serenity.conf

$ mvn clean verify

Test report will be generated at target/site/serenity/index.html

Useful links

Web pages

https://serenity-bdd.github.io/docs/tutorials/first_test

https://johnfergusonsmart.com/serenity-bdd/

https://medium.com/@simplymahmoud/screenplay-design-pattern-in-test-automation-a9f21ec3ddd3

https://janmolak.com/serenity-bdd-and-the-screenplay-pattern-27819d0db780

GitHub repositories

https://github.com/serenity-bdd/screenplay-pattern-todomvc

https://github.com/serenity-bdd/serenity-cucumber-starter

https://github.com/jan-molak/jenkins-build-monitor-plugin/tree/master/build-monitor-acceptance/src/main/java/com/smartcodeltd/jenkinsci/plugins/build_monitor

https://github.com/serenity-bdd/bdd-trader

About

An example of Screenplay pattern with Java, Serenity and Cucumber for web UI automated tests

Topics

Resources

License

Stars

Watchers

Forks