tst
TDD
Our great sponsors
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.
tst
-
Another C++ unit testing framework without macros
Added to the repo https://github.com/cppfw/tst/blob/master/wiki/boost-ut_comparison.md without link from the README
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
What are some alternatives?
ut - C++20 μ(micro)/Unit Testing Framework
testo - End-to-end-tests automation framework
mocxx - A versatile C++ function mocking framework.
examc - proof of concept C unit test library using linker sections
AUnit - Unit testing framework for Arduino platforms inspired by ArduinoUnit and Google Test. Used with EpoxyDuino for continuous builds.
samples
dumbmutate - Simple mutation-testing
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.
muon - GPU based Electron on a diet
doctest - The fastest feature-rich C++11/14/17/20/23 single-header testing framework