summaryrefslogtreecommitdiffstats
path: root/README
blob: 065d9c03398dd23914b78a22962e2178e08e1746 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

QtTest module for Qt Quick
==========================

This directory contains an experimental module and test harness
for writing QTestLib-style unit tests in QML.  Build it against
Qt 4.7 as follows:

    $ /path/to/qt/bin/qmake qtest-qml.pro
    $ make
    $ make install

The "make install" step copies the necessary libraries, plugins,
and QML module definitions into the Qt build tree.

There is an example test case in the "tests/qmlexample" directory that
shows how to integrate QML unit tests into a qmake-based build system.
Also see "doc/testcases.txt" for an introduction to writing unit tests.