Skip to main content

Running Tests

You can run tests using Tesmon Desktop or the CLI. The CLI works in the terminal and is also set up to work with any CI/CD pipeline.

caution

Test Run Engine must be deployed prior to executing tests from the Terminal or within CI/CD pipelines. For more details on deploying the Test Run Engine, please visit: Deploying Test Run Engine

Run tests using the following command:

tesmon test --model default

For more details, run:

tesmon help

Required:

  • --model: Specifies the model the testbot should use.

Optionally Required:

  • --path: If the Tesmon tests are in the same code repository, include this parameter to specify the path to the Tesmon tests.

Optional: Other parameters are optional when running tests locally but are required in CI/CD pipelines.

Example

tesmon test --model default --environmentId 3134cb07-ec67-43b0-a71f-d6e92da80630 --testIds=testId1,testId2

When running from the terminal, only the --model parameter is required. The CLI will prompt for any additional necessary inputs.