qtestlib
QTestLib: Problem testing a Target = app
I have a problem with the dependencies in my unit testing project. My project structure is as follows:[详细]
2023-03-17 04:47 分类:问答QTestlib unit testing project to access the classes in the main project within QTCreator
I am using QT Creator and want to run开发者_开发技巧 my unit tests in a separate project. How do I reference the classes in the main project from my test project?I realise this is an old question, but[详细]
2023-03-10 18:14 分类:问答comparing QTest with other frameworks
Can you compare popular unit test frameworks for C++ w开发者_高级运维ith QTest of Qt? (cppunit, boost test, google test etc..)[详细]
2023-02-08 09:11 分类:问答QTest - Unable to pass Qt::Enter to QPushButton
I\'m creating an automated test application using QTest Library. I\'m able to simulate key presses on the application except when it gets to a window having QDialogButtonBox (Save, and Cancel).[详细]
2023-02-06 08:58 分类:问答How do you get a widget's children in Qt?
I\'m simulating keyPresses to an application through Qt\'s KeyPress function. All the KeyPresses work fine. However when I pass a QT::Key_Enter which is supposed to press the OK button of the currentl[详细]
2023-01-28 02:11 分类:问答QT: When to use QT::keyRelease
I\'m writing a test app that tests another application with a bunch of menus. I simulate keyPresses by using QT::keyPress. However, at some point it doesn\'t accept keyPresses anymore, until I learned[详细]
2023-01-26 20:25 分类:问答QT: unit-testing segmentation fault
Below is a code block for simulating key presses on a menu. I can navigate deep into the menus of my application but when I get back to the main form, I\'m getting a segmetation error.... :([详细]
2023-01-26 12:39 分类:问答QT: simulated unit-testing
Is it possible to run an application and on top of that, you send keyPress events to the app and test the results using qtestlib?[详细]
2023-01-26 09:10 分类:问答QT unit-testing : qtestlib Segmentation fault
I\'m writing a test app that would test if the displayed form is the correct开发者_如何学运维 form. This isafter pressing a key on a menu. Here\'s a code block where I\'m getting a segmentation fault.[详细]
2023-01-26 02:05 分类:问答Qtestlib log window
I link my program against the qtestlib and include QTest. But then I get a log-window which prompts all the qDebugs, when the application starts even if I set the configuration to release or debug.[详细]
2023-01-22 00:28 分类:问答