Chebyshev
Unit testing for scientific software
chebyshev::err::err_settings Class Reference

Global settings of the error testing module. More...

#include <err.h>

Public Attributes

std::string moduleName = "unknown"
 Name of the module being tested.
 
bool outputToFile = true
 Whether to print to an output file.
 
std::vector< std::string > outputFiles {}
 The files to write all error checking results to.
 
std::vector< std::string > assertOutputFiles {}
 The files to write assertion results results to (if empty, all results are output to a generic file).
 
std::vector< std::string > assertColumns
 Default columns to print for assertions. More...
 
std::vector< std::string > errnoOutputFiles {}
 The files to write errno checking results to (if empty, all results are output to a generic file).
 
std::vector< std::string > errnoColumns
 Default columns to print for errno checks. More...
 
std::vector< std::string > exceptionOutputFiles {}
 The files to write exception results results to (if empty, all results are output to a generic file).
 
std::vector< std::string > exceptionColumns
 Default columns to print for exception checks. More...
 
std::map< std::string, bool > pickedChecks {}
 Target checks marked for execution, can be picked by passing test case names by command line. More...
 
bool quiet = false
 Whether to print to standard output.
 

Detailed Description

Global settings of the error testing module.

Member Data Documentation

◆ assertColumns

std::vector<std::string> chebyshev::err::err_settings::assertColumns
Initial value:
= {
"name", "evaluated", "failed", "description"
}

Default columns to print for assertions.

◆ errnoColumns

std::vector<std::string> chebyshev::err::err_settings::errnoColumns
Initial value:
= {
"name", "evaluated", "expectedFlags", "failed"
}

Default columns to print for errno checks.

◆ exceptionColumns

std::vector<std::string> chebyshev::err::err_settings::exceptionColumns
Initial value:
= {
"name", "thrown", "correctType", "failed"
}

Default columns to print for exception checks.

◆ pickedChecks

std::map<std::string, bool> chebyshev::err::err_settings::pickedChecks {}

Target checks marked for execution, can be picked by passing test case names by command line.

(all tests will be executed if empty)


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