About – the origins of CUTE

At the Institute for Software we have been developing plug-ins for Eclipse CDT for almost a decade. Some of this work has been contributed back to Eclipse (e.g. the majority of refactorings and the underlying infrastructure for writing refactorings), others like Linticator are available commercially, but the majority is open source (e.g. Metriculator) or even free. This is where CUTE comes in.

CUTE is an easy to use C++ unit testing framework that leverages modern C++ libraries and features. CUTE is orthogonal, easily extendable and much simpler than other C++ unit testing approaches like CPPUnit. For example, CUTE does not require that you write a derived class for each C++ class you want to unit test.

Eclipse Plug-in for C++ Unit Testing with CUTE

Automated unit testing supports high quality of program code, even under inevitable change and refactoring. As a side effect, unit tested code often has a better structure. Java developers are used to unit testing because of JUnit and its tight integration into IDEs like Eclipse. C++ programmers lacked the tool support for easy-to-use unit testing, even though the language's complexity asks for it.

Refactoring and simplifying C++ code without tests is very hard. No longer!

IFS created a simple to use C++ unit testing framework - CUTE (C++ Unit Testing Easier) - and integrated it into Eclipse CDT similar to JUnit.

  • Wizards creating test frames
  • Test navigator with green/red bar
  • Diff-viewer for failing tests
  • Gcov coverage visualization

Mock Support

The CUTE Eclipse Plug-in does now provide mock ! The powerful mock support plug-in Mockator has been integrated. For more information, see the Mockator wiki for more information.


The icons on this page are based on Luchesa. Vol. 9 Free by Just UI and is licensed under CC BY 3.0.

CUTE is part of Cevelop, your number one IDE for safe C++ development