Configurar testes Qt Test usando um arquivo .runsettings

O Visual Studio usa arquivos .runsettings baseados em XML para definir e personalizar o comportamento dos testes de unidade. Os arquivos controlam a descoberta, a execução e o relatório dos testes.

Para especificar configurações globais para toda a solução, acesse Tools > Options > Qt > Test Adapter.

Adaptador de teste nas opções do Qt Test

Se não houver um arquivo .runsettings específico do projeto ou de toda a solução, os valores das configurações globais serão usados como valores padrão.

Os valores de um arquivo .runsettings específico do projeto ou de toda a solução substituem as configurações globais. As configurações são mescladas para personalizar o comportamento do teste.

Consulte também Configurações do adaptador de teste.

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