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

QuickTest: List testcases when testcase is inline component

    XMLWordPrintable

Details

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

    Description

      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).

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-90762
          # Subject Branch Project Status CR V

          Activity

            People

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

              Dates

                Created:
                Updated:

                Gerrit Reviews