Apply filters before scanning for tests | Qt Creator Documentation

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

How To

# 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, Test Results, and Testing.

How To