catch2

Modern C++-native testing framework for unit tests

brewmacoslinux
Try with needOr install directly
Source

About

Modern, C++-native, test framework

Commands

catch2

Examples

Run all tests in a compiled test executable$ catch2 tests
Run tests matching a specific pattern$ catch2 tests -t "TestPattern"
Run tests with verbose output and specific reporter$ catch2 tests -v -r json