Test suites

What is a test suite in software testing?

A test suite acts like a folder where we store our test cases organized by sections and subsections. You can create several test suites. For example, functional and non-functional test suites or anything else that should be treated as a separate group of tests.

To create a test suite:

  1. On the "Repository" page, click the "Create new suite" button, or click "+ Suite" next to the search bar at the top.

  2. A popup window titled "Create Suite" will appear. Now let's fill in the fields:

    • 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.

    • 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.

  3. To create a test suite, click "Create".

  4. The repository will now display the newly created test suite.

Once you have created one or several test suites, your repository will reflect how they are structured and related to each other.

Test suites controls

While in Repository view, hovering over "Test suite" reveals several controls:

  • Collapse / Expand: Clicking on the name of the test suite collapses or expands it.

  • Create Case / Create Suite: Clicking on the "+" icon opens a menu with options to "Create Suite" or "Create Case."

  • Edit Suite: Clicking on the pencil icon allows you to edit the suite itself.

  • Clone Suite: Clicking on the two pages icon allows you to clone the suite. You can choose the project to which you want the suite cloned, its parent suite, clone strategy, and prefix. You also have the option to clone the suite with its children (suites and cases).

  • Delete Suite: Clicking on the trash can icon lets you delete the suite. Once deleted, you cannot restore the suite from the "Trash Bin."

To navigate around your Suite structure easier, there are three Suite Tree layouts available, which you can toggle between using the “Views” dropdown in the top-right corner of the Repository:

  • Default layout also known as the “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 alternative “Folders view” layout 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 hierarchies:

  • Mind Map view (Beta): This view displays all the suites and test cases within a project as a mind map. It also provides the option to create quick cases or suites by clicking on the “+” icon. You can alter the hierarchy of display by dragging the suite up or down. You can also move a test case from one suite to another. Additionally, clicking on the case will allow you to update its title.

Last updated