Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
Public Attributes | List of all members
shamtest::TestConfig Struct Reference

Configuration of the test runner. More...

#include <shamtest/shamtest.hpp>

Public Attributes

bool print_test_list_exit = false
 Should print test list and then exit.
 
bool full_output = false
 Should display all logs including all asserts.
 
bool output_tex = true
 Should output a tex report.
 
std::optional< std::string > json_output = {}
 Should output a json report.
 
bool run_long_tests = false
 run also long tests
 
bool run_unittest = true
 run unittests
 
bool run_validation = true
 run validation tests
 
bool run_benchmark = false
 run benchmarks
 
std::optional< std::string > run_only = {}
 Run only regex to select tests.
 

Detailed Description

Configuration of the test runner.

Definition at line 63 of file shamtest.hpp.

Member Data Documentation

◆ full_output

bool shamtest::TestConfig::full_output = false

Should display all logs including all asserts.

Definition at line 69 of file shamtest.hpp.

◆ json_output

std::optional<std::string> shamtest::TestConfig::json_output = {}

Should output a json report.

Definition at line 75 of file shamtest.hpp.

◆ output_tex

bool shamtest::TestConfig::output_tex = true

Should output a tex report.

Definition at line 72 of file shamtest.hpp.

◆ print_test_list_exit

bool shamtest::TestConfig::print_test_list_exit = false

Should print test list and then exit.

Definition at line 66 of file shamtest.hpp.

◆ run_benchmark

bool shamtest::TestConfig::run_benchmark = false

run benchmarks

Definition at line 80 of file shamtest.hpp.

◆ run_long_tests

bool shamtest::TestConfig::run_long_tests = false

run also long tests

Definition at line 77 of file shamtest.hpp.

◆ run_only

std::optional<std::string> shamtest::TestConfig::run_only = {}

Run only regex to select tests.

Definition at line 82 of file shamtest.hpp.

◆ run_unittest

bool shamtest::TestConfig::run_unittest = true

run unittests

Definition at line 78 of file shamtest.hpp.

◆ run_validation

bool shamtest::TestConfig::run_validation = true

run validation tests

Definition at line 79 of file shamtest.hpp.


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