Test Suites can be described as containers for your Test Cases that allow you to group those cases by domain or testing area. For our rocket launch, we will need to test the vehicles' various software systems - Navigation, Launch Control, Life Support, etc. We will create an individual Test Suite for each of these domains.
After hitting the "Create New Suite" button, you are required to fill in Test Suite details:
- Suite Name: give your Test Suite a descriptive name that allows you to unequivocally define which domain or area of development it will cover. Suite Name is the only mandatory field to create a Suite - other fields are optional and can be filled at a later stage or left empty.
- Parent Suite: it is possible to have a multi-level hierarchy of Test Suites, so if a Suite you are configuring will be a part of a larger scope of testing scenarios, you can put it into a higher-level Parent Suite. For example, before my Mars Rocket launch, we will need to test both Hardware and Software, so it will make sense for me to create a Parent Suite for both of these domains and add my Navigation Systems suite into the Software domain:
- Description: provide additional details and context regarding which Test Cases should belong to a Test Suite.
- Preconditions: describe the steps that should be completed before you can proceed with Test Cases from the newly created Suite.
After you have created a Test Suite or several of those, your Repository will now reflect how your Test Suites are structured and how they are related to each other:
If you hover your mouse over Test Suite while in Repository view, several controls will reveal itself:
- Collapse / Expand: click the suite header to expand or collapse it
- Create Case / Create Suite: add a new Test Case or a new Child-Suite into a Test Suite:
- Edit Suite:
- Clone Suite:
- Delete Suite:
To navigate around your Suite structure easier, there are two Suite Tree layouts available, which you can toggle between using the "Views" button:
- Nested tree view shows all of the Suites you currently have in your project; you can open up the Suite Tree sidebar to navigate from one suite to another:
- The Folders view shows only the Test Suite and Test Cases in focus, while to navigate to a different Suite, you need to select it from the sidebar. This layout proves to be a better solution for massive structures with complicated hierarchy:
Additional actions are available from the "..." menu icon next to Suite's title - you can Edit, Clone, or Delete a Suite, as well as create a new Test Case or a sub-Suite inside it:
- Both layouts also provide drag'n'drop actions to change the hierarchy of the Suites and move cases around the structure: