Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-141923

Qt Test: Provide documentation about blacklisting tests

XMLWordPrintable

      At the end of a test, we see something like:

      ********* Start testing of TestGui *********
      Config: Using QtTest library %VERSION%, Qt %VERSION%
      PASS   : TestGui::initTestCase()
      PASS   : TestGui::testGui()
      PASS   : TestGui::cleanupTestCase()
      Totals: 3 passed, 0 failed, 0 skipped, 0 blacklisted, 20ms
      ********* Finished testing of TestGui **
      

      We do have some brief documentation at https://doc.qt.io/qt-6/qtest-overview.html#testing-options which describes the -skipblacklisted option, but we don't actually have any documentation on how to actually blacklist a test.

       

      Let's move the informative comments at https://github.com/qt/qtbase/blob/v6.10.0/src/testlib/qtestblacklist.cpp#L19-L91 into official documentation.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            docteam Qt Documentation Team
            skoh-qt Sze Howe Koh
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes