A framework I built using Java, Selenium, Cucumber and JUnit with Sauce labs Integration
-
Install Maven
-
In the terminal, export your Sauce Labs credentials as environmental variables:
$ export SAUCE_USERNAME="your Sauce Labs username"
$ export SAUCE_ACCESS_KEY="your Sauce Labs access key"
- Clone the repository into a directory of your choosing.
-
In a terminal, navigate to the root level of that directory, then run the command:
$ mvn verify
-
Cucumber Html Reports (/target/cucumber-report-html/cucumber-html-reports)