Test Suites
Test suites are a collection of test cases that are grouped together to run sequentially or parallely. Test suites help you organize and manage your test cases efficiently, making it easier to execute and monitor multiple test cases at once. You can group test cases based on the application, feature, or functionality you are testing, and run them together to validate the application's behavior.
Creating Test Suites
To create a test suite:
- Navigate to the Test Suites section.
- Click on the Create Test Suite button.
- Enter a name for the test suite.
- Enter the description for the test suite.
- Click on the Create Test Suite button to save the test suite.
Adding Test Cases to Test Suites
To add test cases to a test suite:
- Navigate to the Test Suites section.
- Click on the test suite to which you want to add test cases.
- Navigate to "Testcases" tab in the test suite details page.
- Click on the Add Testcases button.
- Select the test cases you want to add to the test suite.
- Click on the Add to Test suite button to add the test cases to the test suite.
Execution Order of Test Cases
The test cases added to a test suite will be executed in the order they are added. You can reorder the test cases using the up and down arrows to change the execution order.
Running Test Suites
To run a test suite:
- Navigate to the Test Suites section.
- Click on Run Test Suite button in the test suite list or in the test suite details page.
- Select the Execution Profile to be used for the test run.
- Select the Dataset to be used for the test run.
- Click on the Run Test Suite button to schedule the test suite for execution.
The test suite will be executed, and you can monitor the progress and results in real-time in Test Runs.
If you wanted to run the test locally, you can click on the Local Execution icon in the test suite list or in the run dialog. This will copy the local execution command to your clipboard, which you can then run in your terminal. This fastens the process of running test suites locally with selected execution profile and dataset.