A precondition refers to a specific set of conditions or circumstances that must be met or established before a test case can be executed. It defines the initial state or context required for the test case to run successfully and produce accurate and reliable results. Precondition ensures that the system or application being tested is in the desired state and meets the necessary prerequisites for the test.
1. Precondition list
In order to manage preconditions of a specific project, navigate to Test Management → Preconditions.
At the first glance, the page displays all the preconditions on the right side section.
On the left side, you will find a dedicated section where you can create, edit, delete, and organize all the precondition groups in a hierarchical view.
2. Create A new Precondition
To create a new precondition
Click on + Precondition button in the Precondition list
Fill in Precondition name and description
Click on Create button
3. Edit and Delete a precondition
3.1 Delete a folder
Find delete button in Action column to delete your desired precondition
3.2 Edit a precondition
In the precondition list section, click on a precondition name to open to precondition details dialog
In the precondition details, update its name and description as needed
Click on Save button
4. Manage Test cases of a precondition
4.1 Associate Test Cases
In order to add/associate test cases to a specific precondition
Click on a Precondition Title link in the Precondition list
In the precondition details dialog, choose Test cases tab
Select Test cases
Click on Add test cases button, and select either New test case or Existing test cases
If you chose New test case, a Create issue dialog shown up, fill in all the necessary and click on Create button
If you chose Existing test cases, you can select test cases by searching by name, filter by fields and conditions, or using JQL. Then click on Add Selected button
4.2 Filter test cases
In associated test case list, you can search test cases by name, filter by assignee or status
4.3 Remove test cases from an associated precondition
Allow users to view all Preconditions related activities
In order to remove single test case from a precondition, click on delete button in Action column
So as to do bulk delete, select multiple test cases and click on Remove button from items selected