Skip to content
Welcome to the new CppUtils documentation!

Base CRTP helper providing timeout configuration for test builders.

Template parameterDescription
DerivedDerived builder type for method chaining.
std::chrono::seconds testTimeout {10};

Maximum execution timeout duration.

auto TimeoutBuilder::timeout(std::chrono::seconds newTimeout) -> Derived&;

Sets the execution timeout before the test is aborted.

ParameterDescription
newTimeoutTimeout duration.

Returns: Reference to this builder.