matador::test_suite::summary Struct Reference

Holds the summary result of the executed tests. More...

#include <test_suite.hpp>

Public Member Functions

void reset ()
 Reset the summary data.
 
void evaluate (const unit_test::test_func_info &info)
 Evaluate the test info data.
 

Friends

OOS_UNIT_API std::ostream & operator<< (std::ostream &out, const test_suite::summary &s)
 Outputs The summary struct to on std::ostream.
 

Detailed Description

Holds the summary result of the executed tests.

Member Function Documentation

◆ evaluate()

void matador::test_suite::summary::evaluate ( const unit_test::test_func_info &  info)
inline

Evaluate the test info data.

Once a test was executed an info struct is filled with the result. This method syncs these infos with overall summary.

Parameters
infoThe test info struct

Friends And Related Symbol Documentation

◆ operator<<

OOS_UNIT_API std::ostream & operator<< ( std::ostream &  out,
const test_suite::summary s 
)
friend

Outputs The summary struct to on std::ostream.

Parameters
outThe stream to write on
sThe summary object
Returns
Reference to the stream

The documentation for this struct was generated from the following file:
  • matador/unit/test_suite.hpp