Dodajte testove u postojeće testne projekte

Za dodavanje nove datoteke s testnim slučajevima u projekt koji sadrži testni projekt:

  1. Idite na File > New File.
  2. Odaberite Test Case > Choose.
  3. U Test framework u odaberite okvir za testiranje koji se koristi. On mora odgovarati okviru za testiranje koji koristite u projektu kojem želite dodati ovu datoteku.

    Dijalog s informacijama o testu u čarobnjaku za slučajeve testiranja

Postavke koje treba navesti ovise o odabranoj okviru za testiranje.

Napomena: Ovo je podržano samo za testne okvire temeljene na kodu, osim za Qt Tests. Ne postoji službena podrška za više testnih slučajeva unutar jedne Qt testne aplikacije i bolje je stvoriti zaseban testni podprojekt za svaki testni slučaj.

Vidi također Kako: Testiranje i Testiranje.

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.