Adding Automated Tests and Test Suites

TestBrain determines which automated tests should be run and at what time. #

TestBrain determines which of your automated tests to run for the specific code changes. To do this, TestBrain needs to be aware of all of your automated tests. TestBrain works with any type of tests including unit tests, integration test, UI tests, and any other automated tests that are run automatically via a CI script.

Test Suites and Tests are associated with a particular project. If the same tests are used in multiple projects, please add them separately to each project.

Adding Automated Tests to TestBrain is a 2 step process: #

Name your test suites.

  • This can be done during project setup using the wizard, or added later from the project page.

Adding tests to the named test suites.

  • This is usually done by running the full set of tests in each test suite once using the TestBrain CI Script so that test results are automatically imported into TestBrain.
  • It is also possible to import the list of tests in each test suite directly through the GUI.

Adding Test Suites #

  • Test Suites can be named from the new project wizard or from the project page.
  • When setting up a new project, the project wizard will open a Name Test Suite window to create a series of test suites. After naming each test suite, click the Add button.
  • When done, click Next Step. You can skip adding test suites at this stage by clicking Next Step without naming any Test Suites.
  • Create a separate test suite in TestBrain for each of your actual test suites. 
Adding Test Suites

Only the test suite name and project are required. You can optionally add a test type (UI, unit, Selenium, Appium, etc.) and a description to each test suite for your reference.

You can add test suites to a project at any time from the project screen by pressing the plus button and selecting Test Suite.

Adding a New Test Suite Dropdown