Hi, There is this short article about unit testing in QML: https://doc.qt.io/qt-5/qtquick-qtquicktest.html
I'm still puzzled about unit testing my Sailfish app. There aren't any fancy algorithms in it, most things are UI-related. An example Assume that the app does the job of showing power of numbers in a list. New powers are added via a NumberDialog instantiated in MainPage as numberDialog. (base and exponents is given) Then the usecase is: the user enters the dialog via the pulley menu, enters two numbers a,b, accepts the dialog, the onAccepted slot is fired. And the expected result is that the ListModel contains the a^b number. How to unit test that the following usecase works as expected? -- Marcin _______________________________________________ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org