Test suites

Learn how to organize your tests into test suites and manage their running sequence

Test Suites give you the flexibility to manage the order between tests. You group them in suites so that you can create different groups of tests. This capability makes it easy to select which tests will be included in your suite as well as determine the order in which they will run.

Create a new test suite

To create a new test suite:

  1. Navigate to Test List > Suites.
  2. Click the New Suite button or click Create Suite if there are currently no test suites.
1583
  1. Give the Test Suite a Name and Description.
496
  1. Search for tests by name or label and/or select one or more tests to include in the suite.
506
  1. Click the OK button to create the Test Suite. The new suite is created and displayed in the Suites Library.
904

Adding Tests to a Test Suite by Label

You can add tests to a test suite with specific Labels.

1367

To add tests to a test suite by label:

  1. When adding tests to a test suite, search for the label by name.
495
  1. Testim will display a list of tests with that label. Select one or more tests from the list with that label and save your test.
497

Edit an existing test suite

To edit an existing test suite:

  1. Select the test suite you want to edit and click the Edit button in the action panel.
1228
  1. Update the suite information, add/remove tests from the suite, and click the OK button.
1022

Re-Order tests in a test suite

By default tests are ordered in the suite based on the order in which they are selected. You can arrange and change the order of the tests in a suite once the suite has been created.

To re-order the tests in a test suite:

  1. Double click the test suite you want to re-order.
937
  1. Select a test and use the Move Up and Move Down buttons to change the order of the test in the list.
1453

Running your Test Suite

Using CLI

In order to execute a test suite, you'll need to specify the test suite name in your CLI command like this:

--suite "Tutorial Demo"

Read more about running CLI here.

Using Scheduler

You can run your suite from Testim scheduler.
Read here to see how.

📘

Note:

If you use parallel in your command, the order of the run is no longer guaranteed.


What’s Next