Apply filters before scanning for tests

To override testing preferences for the current project:

  1. Go to Projects > Project Settings > Testing.

    {Testing settings in Projects mode}

  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.

© 2024 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.