Using Testrunner Toolkit

Testrunner Toolkit is a containerized testing solution that allows you to get the benefits of the Sauce Labs platform while maintaining your test suites in your favorite framework.

How it Works#

At the heart of the toolkit is the saucectl command line, which performs the underlying business logic to access the tests in your existing framework, run them (either in the Sauce Labs Cloud or locally in a Docker image), then securely transmit the test assets to the Sauce Labs platform, where you can review, share, and evaluate your test outcomes at scale.

Supported Frameworks and Browsers#

The toolkit currently supports:

Supported Frameworks in Sauce Cloud#

Cypress VersionSupported PlatformsSupported Browsers
6.6.0Windows 10Chrome, Firefox, MicrosoftEdge
5.6.0Windows 10Chrome, Firefox, MicrosoftEdge
5.5.0Windows 10Chrome, Firefox, MicrosoftEdge

Supported Frameworks in Docker Runner#

Browser support or each framework is based on the Sauce Labs docker images provided in the saucectl installation. Each Docker image tag is the latest image that supports the specific framework version, as detailed in the available release notes.

Cypress VersionSupported Browsers
6.6.0Please see release notes
5.6.0Please see release notes

How to Get Started#

The rest of the Testrunner Toolkit documentation will guide you through the process of installing and configuring the saucectl command line, and then using it to run your tests in the way that best suits your current development process. At a high level, you will:

  1. Download and install saucectl.
  2. Generate and configure your saucectl working directory.
  3. Run a sample test to verify functionality.

Once you are confident that saucectl is running, you can customize your configurations based on your testing objectives. The following sections offer some common scenarios.

Existing Tests#

If you already have existing tests in your project (in cypress for example), once you install saucectl, you can just directly modify the default configuration file, and then run your existing tests.

Pipeline Tests#

If you wish to run saucectl as part of your DevOps CI toolchain, you can add it in your workflow by following one of our CI integration guides.

Sample Repos#

If you would like to see sample tests and configuration files for particular frameworks, you can clone one of our demo repositories for use as a template:

Last updated on by Valentyn Kremeshnyi