How to run qtestlib unit tests from QtCreator

Posted by extropy on Stack Overflow See other posts from Stack Overflow or by extropy
Published on 2010-05-11T08:18:07Z Indexed on 2010/05/11 8:24 UTC
Read the original article Hit count: 390

Filed under:
|

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 run them? I would like them to be run before the GUI app starts if debug buid and not run if release build.

© Stack Overflow or respective owner

Related posts about qttest

Related posts about qt-creator