C++Spec 1.0.0
BDD testing for C++
Loading...
Searching...
No Matches
CppSpec::Runner Class Reference

A collection of Descriptions that are run in sequence. More...

#include <runner.hpp>

Public Member Functions

template<typename... Formatters>
 Runner (Formatters &&... formatters)
 
 Runner (std::list< std::shared_ptr< Formatters::BaseFormatter > > &&formatters)
 
Runneradd_spec (Description &spec)
 Add a Description object.
 
template<typename... Specs>
Runneradd_specs (Specs &... specs)
 
Result run (std::source_location location=std::source_location::current())
 
Result exec ()
 

Detailed Description

A collection of Descriptions that are run in sequence.

Member Function Documentation

◆ add_spec()

Runner & CppSpec::Runner::add_spec ( Description & spec)
inline

Add a Description object.

Parameters
specthe spec to be added
Returns
a reference to the modified Runner

The documentation for this class was generated from the following file: