Lägg till tester i befintliga testprojekt
Så här lägger du till en ny fil med testfall till ett projekt som innehåller ett testprojekt:
- Gå till File > New File.
- Välj Test Case > Choose.
- I Test framework väljer du det testramverk som används. Detta måste stämma överens med det testramverk du använder i det projekt som du vill lägga till filen i.

Vilka inställningar som ska anges beror på det valda testramverket.
Obs! Detta stöds endast för kodbaserade testramverk, med undantag för Qt Tests. Det finns inget officiellt stöd för att ha flera testfall i en och samma Qt-testapplikation, och det är bättre att skapa ett separat testunderprojekt för varje testfall.
Se även Så här gör du: Test och testning.
Copyright © The Qt Company Ltd. and other contributors. 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.