1#ifndef JON_TEST_TEST_SUITE_INTERFACE_H
2#define JON_TEST_TEST_SUITE_INTERFACE_H
36 const std::string& caseName
61 const std::string& testCase
Count of tests run, and fails.
Interface for logging events while running tests.
Interface for Test Suites.
virtual void setup()
The Test Suite runsthis prior to each test case.
virtual ~TestSuiteInterface()
Destructor – does nothing.
virtual void teardown()
The Test Suite runs this after to each test case.
virtual int listTestCases(std::ostream &out) const =0
List available Test Cases to out.
virtual bool isValid(const std::string &caseName) const =0
Determine if caseName can be run in this Test Suite,.
virtual Count run(Logger &logger)=0
Runs all Test Cases in this Test Suite.
virtual Count run(Logger &logger, const std::string &testCase)=0
Runs the given testCase in this Test Suite.