#pragma once #include "TestCase.h" #include #include class TestCaseRunner { public: TestCaseRunner(); static TestCaseRunner& getInstance(); ~TestCaseRunner(); void addTestCase(const std::string& label, const std::string& tag, TestCase::TestCaseFunction func); void markTestFailure(const std::string& line); bool run(); private: std::vector mFailingTests; static bool sLastTestFailed; static std::string sFailureLine; std::vector mCases; };