I have a problem with the dependencies in my unit testing project. My project structure is as follows:
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
Can you compare popular unit test frameworks for C++ w开发者_高级运维ith QTest of Qt? (cppunit, boost test, google test etc..)
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).
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
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
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.... :(
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?
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.
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.