Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
suite.cpp File Reference

Implementation of a simple test runner / test suite framework for unit testing. More...

Go to the source code of this file.

Description

Implementation of a simple test runner / test suite framework for unit testing.

Definition in file suite.cpp.

#include "lib/error.hpp"
#include "lib/symbol.hpp"
#include "lib/format-cout.hpp"
#include "lib/test/suite.hpp"
#include "lib/test/run.hpp"
#include "lib/cmdline.hpp"
#include "lib/random.hpp"
#include "lib/util.hpp"
#include <boost/algorithm/string.hpp>
#include <optional>
#include <sstream>
#include <string>
#include <memory>
#include <vector>
#include <map>

Namespaces

namespace  test
 Test runner and basic definitions for tests.
 
namespace  test::anonymous_namespace{suite.cpp}
 

Macros

#define IS_VALID(test, testID)    ASSERT ((test), "NULL testcase launcher for test '%s' found in testsuite '%s'", groupID_.c_str(),testID.c_str());
 

Typedefs

typedef map< string, Launcher * > TestMap
 
typedef shared_ptr< TestMapPTestMap
 
typedef map< string, PTestMapGroupMap
 

Classes

class  Registry
 helper to collect and manage the test cases. More...
 
class  SuiteSeedNucleus
 

Functions

int invokeTestCase (Test &theTest, Arg cmdline)
 

Variables

SuiteSeedNucleus suiteSeed
 
Registry testcases
 

Macro Definition Documentation

◆ IS_VALID

#define IS_VALID (   test,
  testID 
)     ASSERT ((test), "NULL testcase launcher for test '%s' found in testsuite '%s'", groupID_.c_str(),testID.c_str());

Definition at line 183 of file suite.cpp.