Unit tests for Qt-based applications with Catch
reggie last edited by
Squish for Qt is a perfect fit for testing Qt based user interfaces, however an application always consists of quite some backend code as well. Unit tests are one central piece of testing this backend code.
There are numerous unit testing frameworks and libraries available for C++.
For Qt-based code the most natural choice is the QTest library that ships with Qt. But there are cases where using QTest may not be the best choice: