================= Serenity is a tool that lets you use WebDriver-based unit or BDD tests to write more flexible and more reusable WebDriver-based tests, and also to generate documentation about your acceptance tests, including a narrative description of test, along with the corresponding screen shots, and also high-level summaries and aggregations of the test results It provides support for running tests and advanced reporting by using BDD.
The sample project defines both a Gradle and Jenkins build to show both integrations
To run the tests in a specific browser, e.g. chrome:
gradle clean test aggregate -Dwebdriver.driver=chrome -Dwebdriver.chrome.driver=/opt/dev/chromedriver
To use default webdriver:
gradle clean test
See example in Jenkins here.
A sample report can be viewed here.
mvn verify -Dwebdriver.driver=chrome -Dwebdriver.chrome.driver=/opt/dev/chromedriver
To use default webdriver:
mvn verify
See example in Jenkins here.
A sample report can be viewed here.