Doctest – C++ single-header testing framework
The fastest feature-rich C++11/14/17/20/23 single-header testing framework - doctest/doctest
Doctest – C++ single-header testing framework launched on May 22, 2016 with 55 votes, #1,380 of 3,824 launches that month and more than 90% of that year's launches. The site was still online in September 2026, 10 years on.
In plain words
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 file. The framework is designed for C++ developers who need to write and run unit tests without external dependencies or complex setup.
written from the facts on this page · September 2026
Does a similar job
all alternatives →- DTDoctest – the lightest C++ testing framework – version 1.1 released2016 · ▲7
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…
Single-header C++11 HTML document constructor2018 · github.com · ▲87A C++ HTML document constructor only depending on the standard library. - tinfoilboy/CTML
Single-Header Profiler for C++172025 · github.com · ▲68Morning 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…
Match(it): A C++17 pattern-matching library with lots of good stuffs2022 · github.com · ▲85A lightweight single-header pattern-matching library for C++17 with macro-free APIs. Try it at https://godbolt.org/z/8YMr8Kz8j
Cross Platform .NET Desktop Application Framework2017 · browseemall.com · ▲129Making 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
Writing modern C unit tests with Criterion2015 · github.com · ▲34A cross-platform C and C++ unit testing framework for the 21st century - Snaipe/Criterion
More dev tools this month
the category →

open-source IDE for thoughtful software design. Contribute to devdotfast/whiteboard development by creating an account on GitHub.
Dev tools · 27d ago · github.com

Contribute to reladraw/reladraw development by creating an account on GitHub.
Dev tools · 25d ago · github.com
OpenBot▲362Grok Bot alternative: free, local, open-source, multiplayer
Dev tools · 22d ago · openbot.run
Talanoa▲341Hi HN, I’m a fullstack developer, and honestly, I’ve lost count of how many side projects I’ve worked on over the years. But one idea kept coming back to me: a different kind of email client. It first came to me in 2014: “What if we could handle emails more like conversations?” Every year, I’d revisit this concept in my “Build Notes.” Ten years later, no one had built exactly what I had in mind — so I finally decided to do it myself. That’s how Talanoa was born. I wanted something focused on people, not timelines. I was tired of marking messages as unread just to remember to reply later, or…
Dev tools · 20d ago · talanoa.email
CoreSpeed▲332One MCP for everything your agents need: apps, memory, tools
Dev tools · 27d ago · corespeed.io
Source: Show HN post ↗
Launched alongside, May 2016
the whole month →
Gboard by Google▲1,207Google Search, GIFs, emojis & more—right from your keyboard
Life & fun · 2016 · apps.apple.com




