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. 1.
    On the "Repository" page, click the "Create new suite" button, or click "+ Suite" next to the search bar at the top.
  2. 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. 3.
    To create a test suite, click "Create".
  4. 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."
There are three suite tree layouts that you can use to move around your suite structure. You can switch between these layouts by using the "Views" dropdown menu located in the top-right corner of the repository interface.
  • Nested Tree view: shows all of the suites in your project; use the suite tree sidebar to navigate between them.
  • 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 is better for massive structures with complicated hierarchy.
  • Mind Map view: displays all the suites and test cases within a project in the form of a mind map. Also allows you to create cases or suites by clicking on the + icon. You can also 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.
In both the nested tree view and the folders view, you can click on the three-dot-menu icon to edit, close, select and unselect all, create suite, create case, and delete.