- Global Dependencies
$ install maven
- Project Dependencies
- checkout the repository
- Check that packages are available
$ cd Java-TestNG-Selenium
- You may also want to run the command below to check for outdated dependencies. Please be sure to verify and review updates before editing your pom.xml file as they may not be compatible with your code.
$ mvn versions:display-dependency-updates
To run single test
$ mvn test -P single
To run local test
$ mvn test -P local
To run parallel test
$ mvn test -P parallel
To run single test fron Jenkins
$ mvn test -P singleJenkins
To run parallel test from Jenkins
$ mvn test -P parallelJenkins