GCompris Unit Testing
Johnny Jazeix
jazeix at gmail.com
Sat Mar 3 20:19:46 UTC 2018
Hi,
Welcome!
Unfortunately, I have no idea of other qml/js applications using unit tests.
I'm not sure on how complicated to put it place but using
https://doc.qt.io/qt-5/qtquick-qtquicktest.html could be a start. There
might be some issues with qml objects not found as we use a lot rcc files
(compiled .qrc resource files), so don't hesitate to ask if there are
issues when creating the tests.
Johnny
2018-03-03 19:55 GMT+01:00 Himanshu Vishwakarma <himvish997 at gmail.com>:
> Hi,
>
> Thanks for considering my patch and suggesting me the nice approach of
> writing test, like using macro ACTIVITY_INFO_TEST_ATTRIBUTE. I learned
> many things from you. It is my first contribution to GCompris hope that do
> more contribution in future.
>
> I am planning the to write the of more test of GCompris starting from the
> core libraries because it is the main part of the application and then move
> toward the activities of the application.
>
> I am working hard on finding the way to writing the test of activities too
> because the code is mostly qml and js. Will you suggest any project where
> the unit test is already done of code js and qml or which approach I should
> follow for testing of the activities?
>
> Please give me any suggestion!
> --
> Regards,
> Himanshu Vishwakarma
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/gcompris-devel/attachments/20180303/d89006d8/attachment.html>
More information about the GCompris-devel
mailing list