Aller au contenu
Bienvenue sur la nouvelle documentation de CppUtils !

Internal representation of an individual executable test case within a suite.

std::string name;

Descriptive name identifying this test case.

std::function<void(std::stop_token)> function;

Callable test routine invoked during execution with a cooperative stop token.

std::chrono::seconds timeout = std::chrono::seconds{10};

Maximum allowable execution duration before the watchdog timer terminates the test.