TestingBot has released testingbot-cypress-cli
, a CLI program that allows you to run your Cypress Automated tests on TestingBot's browser grid.
What is Cypress Automated Testing?
Cypress is an end-to-end testing solution. It allows developers and testers to easily create tests and run these tests in a browser.
Using Cypress comes with several advantages:
- It is fast and reliable
- Writing tests is easy, with the built-in Test Runner. Modifying tests show instant results in your browser.
- It does not use Selenium. There's no remote commands over the network, just the same run-loop as your webapp.
- Cypress Testing is an all-in-one solution. No need to install other dependencies or libraries.
To learn more about Cypress, please visit the Cypress Homepage.
Why use testingbot-cypress-cli?
We've built this CLI to make it easy for Cypress users to run multiple Cypress tests in parallel, on different browsers and browser-versions in our browser grid cloud.
By using the TestingBot cloud service, you no longer need to provision your own browser installations and keep up with updates and configuration changes.
At the time of writing, TestingBot supports running Cypress tests on macOS Catalina, macOS Mojave and on Windows 10.
Each Cypress test running on TestingBot comes with log files and a screencast of the test.
How does it work?
You'll need to configure the CLI (testingbot-cypress init
command) by pointing it to your Cypress test directory. The CLI will zip and upload the tests in your directory to TestingBot.
Once uploaded, TestingBot will run the tests on the browsers you configured in the testingbot.json
file.
You'll get realtime results from the CLI, and at the end of the tests you'll be able to see a video of the tests.
Example
You can use the Cypress Kitchen Sink Example to quickly run a couple of Cypress tests on TestingBot.
Simply point the cypress_proj_dir
variable to the path where you installed the example.
Once you've specified which browsers/platforms you want to test, you can start the tests: testingbot-cypress run
More information
More information is available on our GitHub Repository or documentation page.