Getting Started
#
Universal PrerequisitesTo start with make sure you have a valid Sauce Labs account
Since credentials should never be stored in code that might get added to a version control system, we have decided to require users of Sauce Bindings to store these values in environment variables:
Here are instructions for setting environment variables on each Operating System:
#
Language Specific Prerequisites- Java
- Python
- Ruby
- C#
- Install Java version 8 or greater
- Install your favorite Java IDE (we really like IntelliJ and the Community Edition is free).
- Choose your test runner below, or use the Sauce Bindings directly without test runner support:
- JUnit 5
- JUnit 4
- TestNG
- Direct
- Add the following to your
.pom
file:
- Add the following to your
.pom
file:
- Add the following to your
.pom
file:
- Add the following to your
.pom
file:
- Install the package:
- Import it into your project
- Add it to your Gemfile:
- Require it in your project:
If you are using Capybara, you must also require this file:
Examples on this site are written to use RSpec, so to execute them you must also add this to your Gemfile:
C# bindings are coming soon...