Dev tools · alternatives · 2026
24 alternatives to Doctest – C++ single-header testing framework
The fastest feature-rich C++11/14/17/20/23 single-header testing framework - doctest/doctest
Doctest is a single-header testing framework for C++ that supports versions 11 through 23. It provides testing features in a lightweight format that developers can integrate into their projects by including one header… Below are 24 products that do a similar job, ranked by how close each is in meaning and then by launch-day votes. Prices are shown for the 1 we have checked on their own sites, 1 of them free or with a free tier. Doctest – C++ single-header testing framework launched in 2016; newer entries below may have overtaken it.
- 1DT
https://github.com/onqtam/doctest version 1.1 brings the following major changes: - HUGE improvements in compile time of asserts - 70-95% faster than the original one! https://github.com/onqtam/doctest/blob/master/doc/markdown/benchmarks.md#cost-of-an-assertion-macro - wrote a FAQ - and the much requested differences with Catch section - https://github.com/onqtam/doctest/blob/master/doc/markdown/faq.md#how-is-doctest-different-from-catch - MANY minor fixes - it didn't compile when…
2016 · its alternatives →
- 2

A C++ HTML document constructor only depending on the standard library. - tinfoilboy/CTML
2018 · github.com · its alternatives →
- 3

Morning HN. I often found myself wondering "how much does this code segment take in terms of total runtime" and it's often quite annoying to figure out with optimizations enabled, especially when working on something new or testing someone else's implementation without the proper tooling set up. Wanted to have a single include lib that would allow us to write something like: ``` PROFILE("Loop 1") for (...) // some work ``` and have the next expression automatically record time & dump results to a table. Wrote a few macros to do exactly that a few months back, but they were…
2025 · github.com · its alternatives →
- 4

A lightweight single-header pattern-matching library for C++17 with macro-free APIs. Try it at https://godbolt.org/z/8YMr8Kz8j
2022 · github.com · its alternatives →
- 5

Making Web Testing Easier Automated testing on 3000+ desktop & mobile browser at Studio version! Making Web Testing Easier Automated testing on 3000+ desktop & mobile browser at Studio version! Explore product trial and special offers Download TRIAL version to start your full 1 day evaluation now! M
2017 · browseemall.com · its alternatives →
- 6

A cross-platform C and C++ unit testing framework for the 21st century - Snaipe/Criterion
2015 · github.com · its alternatives →
- 7

A C++ HTML template engine that uses compile time HTML parsing - rep-movsd/see-phit
2017 · github.com · its alternatives →
- 8
Sparrow▲456The lightest and fastest platform for API testing
2025 · sparrowapp.dev · its alternatives →
- 9

I've created cppmatch, a lightweight, header-only C++ library that brings Rust-inspired pattern matching and error handling to C++. It tries to imitate the functionality of the questionmark (?) operator in C++ by using a macro that uses the gcc extension https://gcc.gnu.org/onlinedocs/gcc/Statement-Exprs.html This allows to create exceptionless code with non-intrusive error-as-value that unlike Exceptions, makes it clear which kinds of error a function can generate and forces you to handle (or ignore) them. The ? operator translates to *expect* To handle the errors I…
2025 · github.com · its alternatives →
- 10

- 11

:boom: Test REST, GraphQL APIs. Contribute to kiranz/just-api development by creating an account on GitHub.
2018 · github.com · its alternatives →
- 12

- 13
Coframe▲367Let your website optimize itself with generative A/B testing
2023 · coframe.com · its alternatives →
- 14DS
Docup is a single JavaScript file that fetches Markdown file and renders it as a beautiful one-page documentation.
2020 · docup.now.sh · its alternatives →
- 15

Drogon: A C++14/17/20 based HTTP web application framework running on Linux/macOS/Unix/Windows - drogonframework/drogon
2019 · github.com · its alternatives →
- 16

Open Source Feature Flags, Experimentation, and Product Analytics - growthbook/growthbook
2021 · github.com · its alternatives →
- 17

- 18

Hi HN! Korean high school senior here, about to start CS in college. I built a browser engine from scratch in C++ to understand how browsers work. First time using C++, 8 weeks of development, lots of debugging—but it works! Features: - HTML parsing with error correction - CSS cascade and inheritance - Block/inline layout engine - Async image loading + caching - Link navigation + history Hardest parts: - String parsing(html, css) - Rendering - Image Caching & Layout Reflowing What I learned (beyond code): - Systematic debugging is crucial - Ship with known bugs rather than chase…
Jan 2026 · github.com · its alternatives →
- 19

Back then there were not a lot of frameworks for C++ like there are available now, gradually added serialization, reflection, orm, modules for apache|nginx, then started adding programming language integration and then finally added support for building on various Os'es and also support for most of the build tools out there.
2023 · github.com · its alternatives →
- 20

An analysis tool for Python that blurs the line between testing and type systems. - pschanely/CrossHair
2020 · github.com · its alternatives →
- 21

I’ve been working on an open-source CLI tool called Dochia for a while now. The reason for building it: in microservices architectures, testing is repetitive: every service exposes APIs, and much of the testing process will share a similar set of test cases: negative inputs, boundary cases, encoding quirks, invisible characters. I wanted a tool that could automate this shared layer of testing instead of doing it manually across dozens of services. So what Dochia does: reads your OpenAPI spec; generates thousands of smart, edge-case payloads automatically and produces detailed reports with…
2025 · github.com · its alternatives →
- 22

Baretest is a fast and simple JavaScript test runner. It offers near-instant performance and a brainless API. It's a minimal alternative to Jest.
2020 · volument.com · its alternatives →
- 23

Hi HN! I've built [CXXStateTree](https://github.com/ZigRazor/CXXStateTree), a modern C++ header-only library to create hierarchical state machines with clean, intuitive APIs. It supports: - Deeply nested states - Entry/exit handlers - State transitions with guards and actions - Asynchronous transitions with `co_await` (C++20 coroutines) - Optional runtime type identification for flexibility It's ideal for complex control logic, embedded systems, games, robotics, and anywhere you'd use a finite state machine. I’d love feedback, use cases, or contributions from the…
2025 · github.com · its alternatives →
- 24

Also compare
- Doctest – the lightest C++ testing framework – version 1.1 released alternatives
- Single-header C++11 HTML document constructor alternatives
- Single-Header Profiler for C++17 alternatives
- Match(it): A C++17 pattern-matching library with lots of good stuffs alternatives
- Cross Platform .NET Desktop Application Framework alternatives
- Writing modern C unit tests with Criterion alternatives
Ranked by how close each launch is in meaning, then by votes. Prices were read from each product’s own site when checked and can change. Refine with your own description →