MCPcopy Create free account
hub / github.com/cucumber/cucumber-cpp / BoostDriverTest

Class BoostDriverTest

tests/integration/drivers/BoostDriverTest.cpp:48–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46};
47
48class BoostDriverTest : public DriverTest {
49public:
50 void runAllTests() override {
51 stepInvocationInitsBoostTest();
52 DriverTest::runAllTests();
53 }
54
55private:
56 void stepInvocationInitsBoostTest() {
57 std::cout << "= Init =" << std::endl;
58 using namespace boost::unit_test;
59 BoostStepDouble step;
60 expectFalse(
61 "Framework is not initialized before the first test", framework::is_initialized()
62 );
63 step.invokeStepBody();
64 expectTrue("Framework is initialized after the first test", framework::is_initialized());
65 }
66};
67
68int main() {
69 BoostDriverTest test;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected