Serenity Integration with Perfecto.
This sample project is designed to get you up and running within few simple steps.
Begin with installing the dependencies below, and continue with the Getting Started procedure below.
There are several prerequisite dependencies you should install on your machine prior to starting to work with this project:
Eclipse users should also install:
IntelliJ IDEA users should also install:
TestNG Plugin is built-in in the IntelliJ IDEA, from version 7 onwards.
-
Clone the repository.
-
After downloading and unzipping the project to your computer, open it from your IDE by choosing the folder containing the pom.xml
- Provide cloudName and securityToken in
serenity.properties
file. - Update perfecto.capabilities.* capabilitites in
serenity.properties
file. - To run a single test, run
mvn verify -P single
- To run parallel tests, run
mvn verify -P parallel
-
CI dashboard integration can be performed by supplying the below properties to top-level Maven Targets:
verify -P parallel -Dperfecto.capabilities.cloudName=${cloudName} -Dperfecto.capabilities.securityToken=${securityToken} -Dreportium-job-name=${JOB_NAME} -Dreportium-job-number=${BUILD_NUMBER} -Dreportium-job-tags=${myTag}
##Note: It is recommended to use different Jobs for different platforms in order to avoid flacky parallel executions.