Skip to main content

Coco 7.2: New Features and Improvements

The Coco team is happy to announce the release of Coco 7.2, which focuses on several improvements to enhance your user experience. In this blog we will highlight the most important enhancements, namely the improved QML coverage support, the extended Unicode and QString support for the test data generation, and new ways to deal with incoherent instrumentation.

Further Incoherent Instrumentation Improvements

As a continuation of our efforts to simplify retrieving coverage, when the same source files across different compilation units are compiled with different options or defines, Coco 7.2 introduces new command line options to help you unify the options and defines used for your coverage builds.

With Coco 7.2 you can use the command line analysis features introduced in the previous release to identify which compiler options or defines might be causing incoherent instrumentation issues, and then use the newly introduced command line options –cs-remove-arg and –cs-inject-arg  to unify the compiler options and defines for coverage builds.

This mechanism can also be used to remove compiler options that usually cause issues in coverage builds like treating warnings as errors. You can learn more about this feature in our documentation.

Improved QML coverage support

As promised with our previous release, Coco 7.2 features more QML coverage support improvements. We added support for many QML and JavaScript language features, that includes QML language features introduced with Qt6.

For JavaScript snippets within your QML files we added support for more recent language features such as:

Most notable newly supported QML language features include:

  • Pragma statements
  • Type annotations
  • Type assertions

So overall measuring coverage for your QML application will require less workarounds.

Test Data Generation Improvements

Our initial test data generation release only featured very basic ASCII string generation without Unicode support or support for other string types.

If you are using the Qt Framework you will be happy to hear that we added support for the QString type, which means you will no longer have to worry about string conversions and encodings when working with QString and test data generation.

Furthermore Coco 7.2 now has explicit Unicode support and even allows you to specify different Unicode code pages and character ranges to help you fine tune the test data generation to the use cases relevant for your application.

Release Notes

Check out our Release Notes for a comprehensive list of improvements and fixes.

Download

For existing users and evaluators new packages for Coco 7.2 are now available in the Qt customer portal.

Not using Coco yet? Get a free evaluation and try it out.

 

Need more information?

Learn more about Coco

If you have any questions or would like to schedule a meeting with one of our experts, please contact us.

 

Comments