CMD + K

doctest

Community

The fastest feature-rich C++11/14/17/20 single-header testing framework for unit tests and TDD

Installation

To install this package, run one of the following:

Conda
$conda install conda-forge::doctest

Usage Tracking

2.5.2
2.5.1
2.5.0
2.4.12
2.4.11
5 / 8 versions selected
Downloads (Last 6 months): 0

Description

doctest is a new C++ testing framework but is by far the fastest both in compile times (by orders of magnitude) and runtime compared to other feature-rich alternatives. It brings the ability of compiled languages such as D / Rust / Nim to have tests written directly in the production code thanks to a fast, transparent and flexible test runner with a clean interface.

About

Summary

The fastest feature-rich C++11/14/17/20 single-header testing framework for unit tests and TDD

Last Updated

Apr 14, 2026 at 13:29

License

MIT

Supported Platforms

macOS-64
macOS-arm64
win-64
linux-64

Unsupported Platforms

linux-aarch64 Last supported version: 2.4.11