Effective Qt 5 testing with froglogic’s Squish Coco C/C++ Code Coverage Analysis

Effective Qt 5 testing with froglogic’s Squish Coco C/C++ Code Coverage Analysis

Hamburg, Germany – 2012-09-25 froglogic GmbH today released an article describing how to improve the effectivity of testing the Qt 5 project using its Squish Coco C/C++ code coverage analysis tool.

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.

If you are interested in using Squish Coco for your own C/C++ projects, please request a free and supported trial at www.froglogic.com/evaluate or contact coco@froglogic.com.

About froglogic

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.

CEO / co-founder