Gauge Integration with BrowserStack
- BrowserStack Automate account with at least 4 parallel tests. Signup for a free trial here.
- Gauge should be installed and in $PATH. Latest version of Gauge can be downloaded from the website.
- Maven should be installed and in $PATH. Latest version of Maven can be downloaded from the website.
- Clone the repo
- Install dependencies
mvn compile - Update
env/default/default.propertieswith your BrowserStack Username and Access Key - Update
gauge_jvm_argswith-javaagent:<your-jar-path>if running with gradle
- To run the sample specs, run
mvn test -P sample-test - To run the sample local specs, run
mvn test -P sample-local-test
- To build gradle wrapper run
gradle wrapper - To clean build gradle run
gradle clean build - To run the sample specs, run
gradle runSingleSpec - To run the sample local specs, run
gradle runLocalSpec - Also can run through
gradle gauge -PspecsDir=sample-spces
- You can view your test results on the BrowserStack Automate dashboard
- To test on a different set of browsers, check out our platform configurator
