A simple and lightweight library for testing in C++20.
Table of contents:
- No 3rd party dependencies, just the STL
- No complicated build system, just 2 files and a C++20 compiler
- Simple but useful markdown reports
- Built-in assertion functions for:
- integral types:
bool
int8_t
,uint8_t
int16_t
,uint16_t
int32_t
,uint32_t
int64_t
,uint64_t
- containers:
char*
stringsstd::string
T[]
std::vector
std::array
- text and binary files
- exceptions
- integral types:
To learn the basics of ntest, see the short example provided. After that, check out the validation to see all the features in action.