Skip to content

hypery2k/serenity_sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Serenity Sample Project

================= 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

Gradle

Build Status

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.

Maven

Build Status

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.

Releases

No releases published

Packages

No packages published

Languages