qttest Questions

4

Solved

In our project we are using the QtTestLib for a unit testing. The reasons are that the whole project already uses Qt whenever it's possible and it's a GUI application, so we wanted to have ability ...
Swagerty asked 30/3, 2012 at 14:3

2

Solved

The use case is, I have a Qt app, and I would like to automate user-style testing of it; that is, I'd like to use keyClicks(), mouseClick(), and so on, but I would like for the Qt application windo...
Dolor asked 14/1, 2014 at 23:27

11

Solved

I am just starting up a new project that needs some cross-platform GUI, and we have chosen Qt as the GUI-framework. We need a unit-testing framework, too. Until about a year ago we used an i...
Dorcia asked 6/10, 2009 at 8:54

4

Solved

I got my Qt project and I'm using Qt Creator. I want to unit-test all my code. However I'm quite new at QTestLib framework but everyone recommended it for testing Qt-based source. Now I'm a little ...
Craw asked 28/8, 2012 at 7:54

1

Solved

I am very new to Qt and Qt Quick. I am validating the Qt Test unit testing framework for Qt Quick and I am not able to understand how to run the tests. Here's what I have, I have created a SUBDIRS...
Ulu asked 12/1, 2016 at 15:24

1

Solved

I have to create a Unit-Test. But first, I´ve to get clear what to do. There is a QtQuick2-App written and now I would like to do Unit-Tests with the GUI. What are the steps for Unit-Tests with GU...
Idolatrize asked 19/10, 2015 at 8:45

1

Qt comes with QTest, and there are some docs: for example, an official tutorial. However, QTest encourages you to organize unit tests as separate executables. There is special macro for this, that...
Velleman asked 23/6, 2015 at 11:20

1

Solved

I would develop some functional tests for a pyqt application that uses PyQt (or PySide) as GUI library. The tests use Unittest and Qttest library, as reported in many resources, for example this st...
Suzetta asked 24/6, 2014 at 9:16

4

Solved

I started writing some tests with Qt's unit testing system. How do you usually organize the tests? It is one test class per one module class, or do you test the whole module with a single test cla...
Manny asked 1/5, 2010 at 13:0

2

Solved

Can anyone give me an example of some QT test code and a CMakeLists.txt that build with Cmake and ran with CTest. I can't seem to find any! -Kurtis
Rettke asked 20/1, 2011 at 23:26

2

Solved

Is there a framework to simulate a deterministically pseudorandom series of clicks imposed upon a Qt application - in order to try to trigger any memory leaks, threading errors etc - typical monkey...
Allerus asked 10/9, 2012 at 14:28

2

Solved

Maybe I'm missing something, but it seems really stupid to me that the only tutorial provided for QtTest framework has you testing the QString class. The typical use case for unit testing is....te...
Nervine asked 3/8, 2012 at 22:17

4

Solved

I am developing a GUI application in Qt Creator and want to write some unit tests for it. I followed This guide to make some unit tests with QtTestlib and the program compiles fine. But how do I r...
Sensibility asked 11/5, 2010 at 8:18
1

© 2022 - 2024 — McMap. All rights reserved.