- Qt Creator Documentation
- Apply filters before scanning for tests
- Qt Creator 19.0.2

Add tests to existing test projects ◦ Build and run tests

# Apply filters before scanning for tests

To override testing preferences for the current project:

1. Go to Projects > Project Settings > Testing.

2. Clear Use global settings to select the tests to handle for the project.
3. To automatically run all or selected tests after successfully building the current project, select All or Selected in Automatically run tests after build.
4. To apply path filters before scanning for tests, select Limit Files to Path Patterns.
5. Select Add to add the filters as wildcard expressions.

To remove the selected filter, select Remove.

See also How to: Test, View test results, and Testing.

Add tests to existing test projects ◦ Build and run tests