TDD
testo
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
TDD
-
static_assert is all you need (no leaks, no UB)
Keep tests and code separate, and use tdd: https://github.com/yellowdragonlabs/TDD
I usually have dozens/hundreds of tests that run faster than you can compile #include .
All tests are executed automatically every time I save. It's very nice to watch the output while coding, with almost no latency.
- TDD – the fastest C++ test system, with private access
testo
What are some alternatives?
examc - proof of concept C unit test library using linker sections
doctest - The fastest feature-rich C++11/14/17/20/23 single-header testing framework
samples
pptest - An abstract reporting header-only unit-testing library for C++.
templight - Templight is a Clang-based tool to profile the time and memory consumption of template instantiations and to perform interactive debugging sessions to gain introspection into the template instantiation process.
Virtualization-Emulation-Guide - Virtualization/Emulation Guide
ut - C++20 μ(micro)/Unit Testing Framework
utest.h - 🧪 single header unit testing framework for C and C++
clean-test - A modern C++-20 testing framework.
tst - C++ xUnit-like testing framework without macros