Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-1197

Enable QML testing from python

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Fixed
    • P2: Important
    • 5.14.0
    • 5.14.0
    • PySide
    • None
    • All

    Description

      Hi,

      It's actually possible to run qml TestCase from c+. It enables using C+ context and custom C++ class.

      It's not possible now in python. It's a major issue (I think) since you can test your python code on a side, qml code on another side (via qmltestrunner) but you can"t do both together to reproduce the real behavior of the app.

      I didn't called this request "enable qmltestrunner from python" because I think testing should cover another point :

      I think testing  python and qml together would be very cool If we had a clean api to manipulaite qml from python (and not this QQProperty.read() thing). something like that :

       

      RootObject.mylistview.onMyPropertyChanged()

      REgards
      Jimmy

      Attachments

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

        Activity

          People

            crmaurei Cristian Maureira-Fredes
            jgirardet Jimmy Gir
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes