Skip to content
GitHub

SuiteMetadata

Fluent builder for test suite metadata. Metadata is automatically applied when the builder is destroyed (RAII). Each setter queues work to be executed once the suite builder leaves scope.

Default constructor

void SuiteMetadata()

Copy constructor

void SuiteMetadata( other)

Parameters:

NameTypeDescription
otherThe object to copy construct from

Move constructor

void SuiteMetadata( other)

Parameters:

NameTypeDescription
otherThe object to move construct from

Destructor

void ~SuiteMetadata()

Copy assignment operator

void operator=( other)

Parameters:

NameTypeDescription
otherThe object to copy assign from

Move assignment operator

void operator=( other)

Parameters:

NameTypeDescription
otherThe object to move assign from

Set the suite description.

void description(std::string_view desc)

Parameters:

NameTypeDescription
descstd::string_viewDescription text.

Add an epic label to the suite.

void epic(std::string_view epic)

Parameters:

NameTypeDescription
epicstd::string_viewEpic identifier.

Add a custom label to the suite.

void label(std::string_view name, std::string_view value)

Parameters:

NameTypeDescription
namestd::string_viewLabel name.
valuestd::string_viewLabel value.

Set the suite name.

void name(std::string_view name)

Parameters:

NameTypeDescription
namestd::string_viewHuman-readable suite name.

Add a severity label to the suite.

void severity(std::string_view severity)

Parameters:

NameTypeDescription
severitystd::string_viewSeverity value.