Skip to content
Welcome to the new CppUtils documentation!

Builder for registering type-parameterized tests within a TestSuite.

Template parameterDescription
TypesType list to instantiate the test with.
using CppUtils::UnitTest::TestSuite::TypedTestBuilder<IsSkipped, Types>::Base = TestBuilderBase<TypedTestBuilder<IsSkipped, Types...>, IsSkipped>;
template <bool Condition>
[[nodiscard]] auto TypedTestBuilder::rebind(std::string message) -> TypedTestBuilder<Condition, Types...>;
auto TypedTestBuilder::operator=(auto&& function) -> void;

Registers the test implementation callback invoked for each type.

ParameterDescription
functionInvocable accepting either a template type argument or std::type_identity<Type>.
template <auto Predicate>
auto TypedTestBuilder::constexprTest() -> void;

Evaluates compile-time test predicates for each type via static assertions.

Template parameterDescription
PredicateConstexpr invocable parameterized by type.