As much as I like CppUnit for writing C++ unit tests, I still prefer using Qt’s built-in QtTest module for Qt-based projects. This avoids a dependency on an external library, lowering the threshold for running and writing unit tests. Unfortunately, QtTest is very basic, and lacks some useful features such as automatic test registration and running multiple test suites in one test binary. In order to improve QtTest’s usability, I started creating some macros and classes that fill in some of the gaps, and bundled them into QtTestUtil.
-
Tags
AtoMail Atom Books C++ Conversation History CppUnit Darcs DocBook DocBook Kit E-Mail Eclipse FOSDEM File Transfer Fink GCC GMail Git Google Google Summer Of Code Google Talk Greem GreenPhone Hackathon Jabber Jingle Libjingle Mac OS X Music Nothing But Nets O'Reilly Openfire PHP Programming Psi Python Qt Qtopia RSS Reviews Ruby Scott Berkun Software Subversion Swift Swiften TrollTech Twitter Unit Testing Vim WordPress XMPP XMPP-TDG eBooks -
Buy my book


