Skip to content

PerfectoMobileSA/Perfecto-Serenity-Sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Perfecto-Serenity-Sample

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.

Dependencies

There are several prerequisite dependencies you should install on your machine prior to starting to work with this project:

Eclipse users should also install:

  1. Maven Plugin

  2. TestNG Plugin

IntelliJ IDEA users should also install:

  1. Maven Plugin for IDEA

TestNG Plugin is built-in in the IntelliJ IDEA, from version 7 onwards.

Downloading the Sample Project

  • 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

Running the sample as is

  • 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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published