CLion
 
Get CLion
You are viewing the documentation for an earlier version of CLion.

Doctest

Last modified: 28 June 2024

Doctest is a single-header framework with self-registering tests. As stated in its documentation, Doctest was designed after Catch and shares some parts of the Catch's code - refer to How is doctest different from Catch.

Doctest doesn't support mocking but you can integrate it with third-party mocking libraries such as trompeloeil, googlemock, or FakeIt.