Squish Coco is a complete code coverage tool chain for C and C++ applications available on Windows, Linux, Mac OS X, and Unix. Squish Coco provides a wrapper for standard compilers (including GCC and Visual Studio) instrumenting the source code the compiler sees (without touching the original code). When the instrumented application’s test suite runs, the application reports a wealth of useful information, including:
- Dead (never executed) code.
- Optimal test execution order, maximizing the overall test coverage for each run.
- Redundant tests.
- Untested code.
Additionally, Squish Coco can compare two different versions of an application (e.g., current and candidate releases) and illustrate the effects the differences have on their tests and test coverage.
The article, available at download.froglogic.com/public/effectively-testing-qt5-using-squishcoco/, describes in detail how to set up code coverage analysis for Qt 5, which is one of today’s largest and most complex C++ projects, and how to use the results to improve testing and overall quality of the Qt 5 release.
Froglogic also set up an automated build agent, generating nightly instrumented builds of Qt 5, and running them against the Qt 5 unit tests. The resulting code coverage reports are available at download.froglogic.com/public/qt5-squishcoco-report.
froglogic GmbH is a software company based in Hamburg, Germany with additional offices in the USA and UK with ca. 1,500 customers world-wide. froglogic is famous for its automated testing suite Squish with its flagship product Squish GUI Tester, the market-leading automated testing tool for GUI applications based on Qt, Java AWT/Swing and SWT/RCP, Mac OS X Carbon/Cocoa, Windows MFC, .NET and WPF, iOS Cocoa Touch and for HTML/Ajax-based web applications running in a variety of web browsers. In addition, froglogic’s offering now includes the professional, cross-platform C and C++ Code Coverage tool Squish Coco. More about froglogic is at https://www.froglogic.com.
“froglogic” and “Squish” are registered trademarks of froglogic GmbH. All other trademarks are the properties of their respective owners.