Setting up test suites
The following information can help you set up test suites for optimal use. Your setup may be different depending on your testing process and organization.
See Using test suites for more information.
1. Create a test library folder
Use a test library to store all of your test assets. This helps you organize tests in one place and streamlines test planning and design. To create the library:
- Add a folder to store all of your test case suites in. You may want to use the Folder type for this folder in case there are other item types you need to store in this folder. You may want to add this folder to the Public root folder so it is easy to find and can be used for multiple products you test. See Adding folders.
- If you test multiple products, create a Test Library test case suite folder in each product folder. See Adding test suites.
In the following example, there is a Test Library folder, which is for storing tests that may be used to test multiple products. There is also a Test Library test case suite folder in the Product APS folder, which is for storing tests specifically for Product APS.
2. Add test case suite folders to the test library folder
Consider the different categories of tests you need and add a test case suite folder for each category in the main test library folder. For example, use test case suites to separate regression and performance tests. Make sure you add notes to each test case suite folder to describe its contents. Notes are copied to test run suites generated from the test case suite and can help testers learn more about the tests. See Adding test suites.
In the following example, the Test Library folder contains test case suites for performance, regression, security, and new feature tests.
3. Add test cases to the test case suites
Add test cases to the appropriate test case suites. See Adding items to folders.
4. Put test cases in the order to run them
The order that tests are performed may be important. For example, running tests in a specific order is more efficient or you may have tests that are destructive in some way. Order the tests in each test case suite folder to make sure they are in the correct order. See Ordering items in test suites.
5. Lock the test case suite when it is complete
When you are satisfied that a test case suite is complete and ready to use for testing, lock the suite folder. This prevents adding, moving, removing, and reordering test cases in the folder. See Locking and unlocking folders. The content of test cases in the suite may still be editable. To prevent changes to test case contents, use the test case workflow.