Organizing Tests by Saved Filter
Learn how using saved filters can help with test management.
What Is a Saved Filter?
Saved filters allow you to use advanced conditions to group tests into folders for easy organization, management, and test execution. Use test tags and filters to create a custom view of your test cases.
Saved filters allow for the dynamic management of features and run group tests without manually adding or removing the tests. By creating a saved filter and applying it, you can include or exclude features and run groups based on the filter.
For example, you create a saved filter that includes the tag #New. Anytime a test is created and tagged with #New, it is included in the saved filter. If the filter is applied to the feature or run group, those tests are now automatically added. Conversely, suppose a test is no longer considered #New, and the tag is removed. In that case, the test is automatically removed from the saved filter and any associated features or run groups.
Common Use Cases
Saved filters are helpful for use cases such as:
- Archiving. For obsolete or deprecated tests, tag them as
#archivedrather than delete them. Then, create a saved filter to view these tests.
- Bugs. For known issues, tag the test with
#bugand create a saved filter to aggregate these tests for review.
If you organize your tests by feature or in smoke and regression test suites, we recommend using features and run groups.
If you have any questions, reach out to us at [email protected].
Updated about 1 year ago