Single-header C++ testing framework supporting C++11/14/17/20/23
Feature-rich C++11/14/17/20/23 single-header testing framework
doctest$ cat > tests.cpp << 'EOF'
#include "doctest.h"
TEST_CASE("basic math") {
CHECK(1 + 1 == 2);
}
EOF
g++ tests.cpp -o tests && ./tests$ ./tests -v$ ./tests "*math*"