Configure Qt tests using a .runsettings file

Visual Studio uses XML-based .runsettings files to define and customize the behavior of unit tests. The files control the discovery, execution, and reporting of tests.

To specify global settings for the entire solution, go to Tools > Options > Qt > Test Adapter.

{Test Adapter settings}

If there is no project-specific or solution-wide .runsettings file, the values of global settings are used as default values.

The values from a project-specific or solution-wide .runsettings file override the global settings. The settings are merged to customize test behavior.

See also Test Adapter settings.

© 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.