23#ifndef SCTEST_REPORT_H
24#define SCTEST_REPORT_H
71 void Reset(
size_t testCount = 0);
88 std::chrono::duration<double, std::milli>
95 std::chrono::time_point<std::chrono::steady_clock> start;
96 std::chrono::time_point<std::chrono::steady_clock> end;
A Report holds test run results.
Definition Report.h:34
void Failed()
Report a test as having failed.
size_t Passing() const
The number of tests that have passed successfully.
std::chrono::duration< double, std::milli > Elapsed() const
Retrieve how long the tests took to run.
size_t Failing() const
Failing returns the count of failed tests.
void End()
Mark the end of test runs.
void Start()
Mark the start of test runs.
void Reset(size_t testCount=0)
Reset the internal state.
void Passed()
Report a test as having passed.
size_t Total() const
The number of tests registered.
void AddTest(size_t testCount=0)
Register more tests in the report.
Report()
Construct a new Report, zeroed out.
Shimmering Clarity testing library.
Definition sctest.h:34
std::ostream & operator<<(std::ostream &os, const Report &report)