Skip to content

This is a Travis + perfecto + maven integration sample

Notifications You must be signed in to change notification settings

PerfectoMobileSA/TravisSample

Repository files navigation

Perfecto + Maven + Testng + Java + Travis Sample Project:

Build Status

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.

Optional Installations

  • For source control management, you can install git.

Downloading the Sample Project

  • Clone this repository.

  • After downloading and unzipping the project to your computer, open it from your IDE by choosing the folder containing the pom.xml

Getting Started

  • Configure the name of your Perfecto cloud as a system variable by passing your cloud name as a -DcloudName=<> from Maven system property while running the install goal of Maven or simply hardcode your cloud name in the script.

  • Configure your security token from Maven by passing the -DsecurityToken=<> system property while running the install goal of Maven or simply hardcode it.

  • Run pom.xml with the below maven goals & properties

      clean
      install
      -DcloudName=${cloudName}
      -DsecurityToken=${securityToken}
    
  • Maven will take care of kick starting the parallel execution of different examples inside perfecto package in parallel.

Travis Integration:

  • This project contains a .travis.yml file which will help Travis webhooks to listen for git updates.
  • It will also print the suite level report at the end of execution.
  • The current build status of Travis in github will be showcased in readme.md file. More info here

Kindly reach out to Professional Services team of Perfecto to implement this in your Organization.

About

This is a Travis + perfecto + maven integration sample

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages