Lumiera  0.pre.03
»edit your freedom«
suite.cpp File Reference

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>

Classes

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

Typedefs

typedef map< string, PTestMap > GroupMap
 
typedef shared_ptr< TestMap > PTestMap
 
typedef map< string, Launcher * > TestMap
 

Macros

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

Functions

int invokeTestCase (Test &theTest, Arg cmdline)
 

Variables

SuiteSeedNucleus suiteSeed
 
Registry testcases
 

Namespaces