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

Document usage of qtestlib together with QML in qtestlib-manual.html

XMLWordPrintable

      Unit tests on a QML component can be done using the qmlviewer application see

      It might be useful to keep in mind that it is possible have a qtestlib
      based unit test for a QML scene. This makes it possible to assess the code
      coverage of the test as QML code exercises the underlying C++ API's, or to interact with the objects from C++ to verify logical behavior.

      Also it might be worth to link to https://github.com/fgrehm/qmlunit

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

            docteam Qt Documentation Team
            kevwrigh Kevin Wright
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes