MCPcopy Create free account
hub / github.com/pybind/pybind11 / testCaseStarting

Method testCaseStarting

tests/test_with_catch/catch.cpp:43–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41 static std::string getDescription() { return "Simple progress reporter (one line per test)"; }
42
43 void testCaseStarting(Catch::TestCaseInfo const &testInfo) override {
44 print_python_version_once();
45 auto &os = Catch::cout();
46 os << "[ RUN ] " << testInfo.name << '\n';
47 os.flush();
48 }
49
50 void testCaseEnded(Catch::TestCaseStats const &stats) override {
51 bool failed = stats.totals.assertions.failed > 0;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected