Describe the test suite used to store all used-defined test and run them. More...

#include <NRE_TestSuite.hpp>

Public Member Functions

void addTest (InternalTest *test)
 
void addLog (std::string const &log)
 
void runAll ()
 
bool hasFailed () const
 

Static Public Member Functions

static void runAllTests ()
 
static bool suiteHasFailed ()
 

Static Public Attributes

static TestSuite suiteInstance
 

Detailed Description

Describe the test suite used to store all used-defined test and run them.

Member Function Documentation

void NRE::Tester::TestSuite::addLog ( std::string const &  log)

Add a failed assertion log

Parameters
logthe log to add
void NRE::Tester::TestSuite::addTest ( InternalTest test)

Add a test in the suite

Parameters
testthe test to add
bool NRE::Tester::TestSuite::hasFailed ( ) const
Returns
if the suite has failed
void NRE::Tester::TestSuite::runAll ( )

Run all the suite tests

void NRE::Tester::TestSuite::runAllTests ( )
static

Run all the suite instance tests

bool NRE::Tester::TestSuite::suiteHasFailed ( )
static
Returns
if the suite instance has failed

Member Data Documentation

TestSuite NRE::Tester::TestSuite::suiteInstance
static

The test suite instance


The documentation for this class was generated from the following files:
  • /mnt/c/Users/abell/Documents/GitHub/NRE-Tester/src/Tester/TestSuite/NRE_TestSuite.hpp
  • /mnt/c/Users/abell/Documents/GitHub/NRE-Tester/src/Tester/TestSuite/NRE_TestSuite.cpp