Tesmon CLI
The Tesmon command line interface (CLI) enables you to run tests from your local machine. You can specify the environment against which to run the tests and pass run configuration options to the tests. To run tests using the Tesmon CLI, use the following command:
Run tests using the following command:
tesmon test
Sample
| => tesmon test
┌─────────┬───────────────────┬──────────────────────────────────────┬─────────┐
│ (index) │ Name │ Environment ID │ Status │
├─────────┼───────────────────┼──────────────────────────────────────┼─────────┤
│ 1 │ Staging │ 84c62db0-bd26-11ec-b0e7-29b8df72177c │ ONLINE │
├─────────┼───────────────────┼──────────────────────────────────────┼─────────┤
│ 2 │ Dev │ a9280300-df67-11ec-9a80-3bd2bf420f2a │ OFFLINE │
├─────────┼───────────────────┼──────────────────────────────────────┼─────────┤
│ 3 │ Integration │ d8812f50-7503-11ed-9379-89304b55915f │ ONLINE │
└─────────┴───────────────────┴──────────────────────────────────────┴─────────┘
Enter the environment (index) to run tests on: 3
Running 1 tests on Environment: Integration
View results at: https://app.tesmon.io/workspaces/demo2/test-runs/34e06706-bd69-4805-8fa8-2572e0181bd7
Example with parameters
tesmon test --collectionIds=smokeTests