Použít filtry před vyhledáváním testů

Chcete-li přepsat nastavení testování pro aktuální projekt:

  1. Přejděte na Projects > Project Settings > Testing.

    Nastavení testování v režimu Projektů

  2. Vypněte políčko „ Use global settings “ (Vytvořit a spustit všechny testy) a vyberte testy, které chcete pro projekt zpracovat.
  3. Chcete-li po úspěšném sestavení aktuálního projektu automaticky spustit všechny nebo vybrané testy, vyberte v části „ Automatically run tests after build “ možnost „ All “ nebo „ Selected “.
  4. Chcete-li před vyhledáváním testů použít filtry cest, vyberte možnost „ Limit Files to Path Patterns “ (Filtry cest).
  5. Vyberte možnost „ Add “ (Přidat filtry do cesty), chcete-li filtry přidat jako výrazy se zástupnými znaky.

Chcete-li vybraný filtr odstranit, vyberte možnost „ Remove “ (Vymazat filtry).

Viz také Jak na to: Testování, Zobrazení výsledků testů a Testování.

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.