dot-xx
A personal collection of small C++ modules
|
Unit testing. See dxx::selftest::run_all for usage help. More...
Classes | |
class | dxx::selftest::UnitTest< TFunc > |
Create an object of that class to declare a unit test. More... | |
struct | dxx::selftest::test_failure |
The exception type used by test assertions. More... |
Functions | |
void | dxx::selftest::test (bool condition, std::source_location st=std::source_location::current()) |
Test assertion. Calls dxx::assert::always with test_failure. | |
int | dxx::selftest::run_all (const std::unordered_set< std::string > &filters={}) |
Run all tests that match a filter. |
Unit testing. See dxx::selftest::run_all for usage help.
Files | |
file | /build-llvm-libcpp/_deps/dot-xx-selftest-src/src/selftest.xx |
Main interface file for dxx::selftest module. | |
file | /build-llvm-libcpp/_deps/dot-xx-selftest-src/src/name_deduce.xx |
Unit test name deduction from callable type name. |