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.

Harri Porten is of German and Finnish descent and grew up in Germany and Thailand. After high school he studied at the Technical University of Hamburg-Harburg in Germany, and at the University of Waterloo in Canada; he graduated with a diploma in Mechanical Engineering. Harri started programming on an Apple II, and soon turned his hobby into a source of income, providing maintenance and consultancy services to local businesses. After discovering Linux, Harri joined the "KDE" project, where he eventually implemented a JavaScript interpreter – this interpreter was adopted for use in KDE's web browser "Konqueror", and is now also used by Apple in its Safari browser, and served as the starting point for WebKit's JavaScript interpreter. Harri began working as a software engineer at Trolltech AS in Oslo in the summer of 2000. During the next three years he oversaw the portability of the Qt GUI toolkit to a wide variety of different compilers and operating systems, including HP-UX and AIX. In addition, he implemented Qt's original SVG support, and was involved in Trolltech's quality assurance process. Harri was also a member of the Qt Script for Applications (QSA) team. Harri co-founded froglogic in 2003.


Leave a reply

Your email address will not be published. Required fields are marked *