This approach combines the power and expressiveness of different test frameworks with the dashboards, infrastructure, and analytics of Sauce Labs.
Most importantly, by running these tests through Sauce Labs, you can:
- Take advantage of low latency provided by a containerized solution
- Review, share, and evaluate your test assets, such as logs, test results, and test videos
- Use our Insights feature to perform deeper analysis of test outcomes
- Take advantage of other Sauce-specific options as development continues, including VMs, parallelization, and so on
To get started quickly, please see this page.
In the current beta, the toolkit supports the following frameworks: Cypress, Playwright, and TestCafe. The specific framework you use for testing depends on the types of tests you need to run, and the environment where you run the tests.
Furthermore, the framework and browser version support depends on the Sauce Labs docker images. The table below indicates framework and browser support based on the requisite docker image tag.
Each docker image tag is the 'latest' image that supports the specific framework version
|Cypress Version||Supported Browsers||Release Notes||Sauce Cloud Support [?]|
|5.6.0||Please see release notes.||saucelabs/sauce-cypress-runner||Windows 10|
|Playwright Version||Supported Browsers||Release Notes||Sauce Cloud Support [?]|
|1.7.1||Please see release notes.||saucelabs/sauce-playwright-runner|
Below are the general steps for executing tests with Testrunner Toolkit. For further information, follow the links below:
- Download and Install
- Authenticate with your Sauce Labs Credentials
- Generate a Configuration File and Tests Directory
- Run the Tests
- Analyze Test Results on Sauce Labs
Below are some example user journeys and use cases that Testrunner Toolkit supports.
If you're starting from scratch and don't have any tests currently running as a part of your development workflow,
saucectl will automatically generate an example test when you choose an automation framework and run the initial command. From there you can modify or expand upon the existing test.
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.
To learn more about the tools associated with this project please see the links below:
- Jest: https://jestjs.io/
- Cypress: https://github.com/cypress-io/cypress
- The Microsoft Playwright project: https://github.com/microsoft/playwright
- TestCafe: https://devexpress.github.io/testcafe/
Visit the links below to view information and release notes regarding the docker images' contents: