Simple example:
#include <boost/ut.hpp>
using namespace boost::ut;
suite<"basic suite"> tests = [] {
"test 1"_test = [] {
expect(true);
};
};
int main(int argc, const char* argv[]) {
boost::ut::detail::cfg::show_successful_tests = true;
}
This prints:
Running test "test 1"... PASSEDSuite 'basic suite': all tests passed (1 asserts in 1 tests)
Suite 'global': all tests passed (0 asserts in 0 tests)
I would have expected something like
Running test "test 1"... PASSED
Suite 'basic suite': all tests passed (1 asserts in 1 tests)