Debug

Debugging Libraries, Memory Leak and Resource Leak Detection, Unit Testing

Google Mock35.3K

A library for writing and using C++ mock classes. [BSD]

Google Test35.3K

Google C++ Testing Framework. [BSD]

Catch218.9K

A modern, C++-native, test framework for unit-tests, TDD and BDD. [Boost]

benchmark9.2K

Google provided small microbenchmark support library. [Apache2]

doctest6.1K

The lightest feature rich C++ single header testing framework. [MIT]

Unity4.2K

Simple Unit Testing for C. [MIT]

backward-cpp3.9K

A beautiful stack trace pretty printer for C++. [MIT]

Remotery3.2K

Single C File Profiler with Web Viewer. [Apache2]

dbg-macro3K

A dbg(…) macro for C++. [MIT]

microprofile1.5K

Profiler with web-view for multiple platforms. [Unlicense]

nanobench1.5K

Simple, fast, accurate single-header microbenchmarking functionality for C++11/14/17/20. [MIT] website

CppUTest1.4K

Unit testing and mocking framework for C/C++. [BSD-3-clause]

μt1.3K

C++20 single header/single module, macro-free μ(micro)/Unit Testing Framework. [Boost]

FakeIt1.3K

Simple mocking framework for C++. [MIT]

check1.1K

Check is a unit testing framework for C. [LGPL-2.1] website

DebugViewPP1.1K

Debug logging viewer. [Boost]

utest.h862

Single header unit testing framework for C and C++. [Unlicense]

Celero829

C++ Benchmarking Framework. [Apache2]

fff800

A micro-framework for creating fake C functions. [MIT]

Cpptrace783

A simple, portable, and self-contained C++ stacktrace library supporting C++11 and greater. [MIT]

IceCream-Cpp597

Never use cout/printf to debug again [MIT]

MinUnit583

A minimal unit testing framework for C self-contained in a single header file. [MIT]

libassert568

The most over-engineered C++ assertion library. [MIT]

UnitTest++558

A lightweight unit testing framework for C++. [MIT/X Consortium license]

Touca500

Open-source regression testing system that you can self-host. [Apache2] website

Nonius361

A C++ micro-benchmarking framework. [CC]

cpp-dump313

A C++ library for debugging purposes that can print any variable, even user-defined types. [MIT]

CppBenchmark288

Performance benchmark framework for C++ with nanoseconds measure precision. [MIT]

snitch274

Lightweight C++20 testing framework. [Boost]

libtap252

Write tests in C. [GPL2]

Hippomocks196

Single-header mocking framework. [LGPL-2.1]

Boost.Test184

Boost Test Library. [Boost] website

ig-debugheap183

Multiplatform debug heap useful for tracking down memory errors. [BSD]

Nanotimer137

A simple low-overhead cross-platform timer class for benchmarking. [zLib] website

B
Bencher

A suite of continuous benchmarking tools designed to catch performance regressions in CI. [MIT]/[Apache2]

C
CUTE

C++ Unit Testing Easier. [LGPL3]

C
CMocka

unit testing framework for C with support for mock objects. [Apache2]

C
CppUnit

C++ port of JUnit. [LGPL2]

C
CTest

The CMake test driver program. [BSD]

D
Deleaker

A tool for resource leak detection, including memory, GDI and handle leaks.

M
Mockator

Eclipse CDT plug-in for C++ Seams and Mock Objects.

V
VLD

Visual Leak Detector. A free, robust, open-source memory leak detection system for Visual C++.