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

QuickTest: List testcases when testcase is inline component

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • 6.x
    • 5.15, 6.0
    • Testing: QuickTest
    • None

      Consider

      import QtQuick 2.15
      import QtTest 1.15
      
      Item {
          component TC: TestCase {
              function test_tc()
              {
                  verify(true)
              }
          }
      
          TC {}
      }
      

      In this case, enumerateTestCases in quicktest.cpp won't list test_tc (but the actual test will run).

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

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            fabiankosmale Fabian Kosmale
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: