PDA

View Full Version : unit test cases



av2306
19th November 2013, 08:21
Hi All,

I have to write unit test cases for few c++ classes in Qt IDE and needs to execute by another program/script.

Can some body point me to how to write unit test cases in qt better way? I would like to use Qt libraries for unit test cases.

Thanks.
av

stampede
19th November 2013, 08:54
Maybe QTestLib (http://qt-project.org/doc/qt-4.8/qtestlib-tutorial1.html) ?

anda_skoa
19th November 2013, 09:57
Qt creator even has a project type for QTestLib based unittests.

Cheers,
_