[Interest] Unit test framework

Himanshu Vishwakarma himvish997 at gmail.com
Fri Mar 9 06:35:50 CET 2018


Thanks for your response.

Actually, I am a beginner in the qt and C++.
and I am participating in this GSoC where I have to unit testing of
software GCompris:

I have certain question rise after doing much research. please the
clear my confusion.

Q1. A squish is a software by which we can test the software
graphically i.e. in GUI mode ?? please comments...

Q2. If yes, there must be alternative by we can test the software in
non-GUI mode also. If yes, then what are the methods??

Q4. One commit is done by me to my KDE project(same)
it is based on the QtTest of C++ part, same way can I write more test
by Qt Quick Test of qml/js part of my project. please comments...

Q3. There are some projects where the unit testing is happening. can
these things can I apply to our project also. What are your
Project1: https://github.com/papyros/qml-material
Project2: https://github.com/yunit-io/yunit-old

Himanshu Vishwakarma

On Tue, Mar 6, 2018 at 9:07 AM, Christian Gagneraud <chgans at gmail.com> wrote:
> On 5 March 2018 at 20:14, Himanshu Vishwakarma <himvish997 at gmail.com> wrote:
>> I have to test the software, not by GUI I have to test the software have
>> lots of file qml and js, How I can test the file of js and qml through the
>> qt.
>> problem is in the testing of the javascript file.
>> How we connect them with the QtQuick QuickTest?
>> Above software is not free charging too much.
>> On Sun, Mar 4, 2018 at 7:07 AM, Jason H <jhihn at gmx.com> wrote:
>>> http://doc.qt.io/qt-5/qtquick-qtquicktest.html
>>> But for GUI testing, I think FrogLogic has the only product to exerceise a
>>> GUI.
> I'm using squish at work for UI testing of Qt application, it's OK-ish
> but not cheap.
> You could maybe investigate if you can use part of gammaray for widget
> book-keeping, and then use python/nose/behave for the test driving
> part.
> It is not clear to me what are you trying to achieve exactly, what is
> your goal and/or task.
> https://community.kde.org/GSoC/2018/Ideas#Project:_Unit_test_framework
> is talking about unit tests.
> I think it will be difficult to uit test QML+js, maybe you need a mix
> of unit and GUI test, eg by creating ad-hoc simple GUI (that use only
> one or 2 QML components) and then verified their behavior.
> Interesting project BTW.
> Chris

More information about the Interest mailing list