Namespaces | Enumerations | Functions
ExecutionModel.hpp File Reference

(6)

Test runner execution model enum. More...

#include <Balau/Exception/CommandLineExceptions.hpp>
#include <Balau/Util/Strings.hpp>
Include dependency graph for ExecutionModel.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 Balau::Testing
 The test runner and test assertion functions.
 

Enumerations

enum  ExecutionModel : unsigned int {
  SingleThreaded = 1,
  WorkerThreads = 2,
  WorkerProcesses = 4,
  ProcessPerTest = 8
}
 The type of execution model to be used by the test runner. More...
 

Functions

void fromString (ExecutionModel &model, const std::string &value)
 Obtain the execution model from a string. More...
 
bool isExecutionModel (std::string_view value)
 Returns true if the supplied string represents a valid execution model (the case is ignored). More...
 
template<typename AllocatorT >
Balau::U8String< AllocatorT > toString (ExecutionModel model)
 Print the execution model value as a UTF-8 string. More...
 

Detailed Description

Test runner execution model enum.