newbee here on QML. Apologies if the question is too basic but I am stuck. I am trying something very simple, running a simple QML unit test, but it ...
newbee here on QML. Apologies if the question is too basic but I am stuck. I am trying something very simple, running a simple QML unit test, but it ...
I've written a number of unit tests for a Qt application using QTest which are packaged into a separate executable and can be run from a terminal. Bot ...
I've started to create UI tests for my PyQt5 widgets using QtTest but have run into the following difficulties: In order to speed up things, some ...
I'm writing a unit test using QtTest framework. I have a .pro file representing test project where i want to specify a relative path to the source fil ...
In general, the macros QVERIFY, QCOMPARE, etc. shall not be used outside a test function. The reason is, that in case of a failure, they interrupt the ...
I am studying about Qt Test and got to know there are four special slots which are executed before and after test cases. initTestCase() will b ...
I have a simple console application as below and I want to learn how to use Qt Test to test its functionalities. Honestly, I am trying to learn how to ...
I use googletest as the main testing framework for a Qt project. QAbstractItemModelTester helps catching the most common errors in custom item model c ...
I am writing unit test cases for my QT application which contains a QWizard. I am using QtTest framework. But I am not able to get the Next button cli ...
I want to instantly fail any auto test when a warning is printed in the tested code, so that I don't miss it in the output and end up with strange tes ...
I am using QT Test in QT5 and noticed none of the examples in their documentation (https://doc.qt.io/qt-5/qttestlib-tutorial1-example.html#writing-a-t ...
So, there I'm writing some library and desided to have a proper unit-testing for it (like TDD and so on). QtTest framework looked suitable to start wi ...
I'm trying to unit test some legacy code which is using QTimer for some periodic action basically: I need to write unit test for the method onTimeo ...
I'm sure I'm just missing something in my original class (conferenceview), but I can't wrap my head around exactly what is missing. When I attempt to ...
Travis relies on the exit code on an executable to determine if the test passed or failed. Qt Test is designed so that every test class is contained i ...
I’m a little bit confused how to work with mock and dynamic linked libraries. Let’s assume a project structure like the following The ‘app’ is usin ...
I am trying to use QTest to test UI interactions with a QListWidget. Interactions made from a simple click work fine (QTest::mouseClick()) but interac ...
Qt 4.7.1 I have a qttest setup which has until recently been performing well. I have encountered, and dealt with, the need to interact with modal dia ...
I am trying to create a test for a use case like this: A Dialog is opened Clicking on a button in this dialog opens a sub dialog Clicking on a ...
I'm trying to set up some unit tests with QtTest and i'd like to use QFETCH. I am testing the following function : It simply converts a array of c ...