FCF 2.0 development in progress...
> > > >
[News] [C++ Libraries API] [C++ Downloads] [Donate to the project] [Contacts]

fcf::NTest::Options class

Type:
class fcf::NTest::Options

Package: fcfTest

File: test.hpp

Available from version: 1.0.1

This structure holds the configuration for running tests. It is populated automatically by the command line parser but can be used manually.

Nested classes
File
- A configuration structure representing a log file destination, specifying the file path and the output format.
Selector
- A filtering criteria structure used to select or exclude tests based on their hierarchical position (Part, Group, or Test name).
Properties
std::vector<fcf::NTest::Options::Selector> selectors = []
- A list of selectors used to include specific tests in the execution.
std::vector<fcf::NTest::Options::Selector> ignoreSelectors = []
- A list of selectors used to exclude specific tests from the execution.
fcf::NTest::ELogLevel logLevel = fcf::NTest::LL_DEF
- Desired logging level
std::string format = "default"
- Output format for the test results (e.g., "default" or "junit").
bool noBreak = false
- Determines whether the test execution should continue after a test failure.
std::vector<fcf::NTest::Options::File> files = []
- A list of files where test execution logs should be written, each associated with a specific format.