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.
Public Methods
Section titled “Public Methods”SuiteMetadata
Section titled “SuiteMetadata”Default constructor
void SuiteMetadata()SuiteMetadata
Section titled “SuiteMetadata”Copy constructor
void SuiteMetadata( other)Parameters:
| Name | Type | Description |
|---|---|---|
other | “ | The object to copy construct from |
SuiteMetadata
Section titled “SuiteMetadata”Move constructor
void SuiteMetadata( other)Parameters:
| Name | Type | Description |
|---|---|---|
other | “ | The object to move construct from |
~SuiteMetadata
Section titled “~SuiteMetadata”Destructor
void ~SuiteMetadata()operator=
Section titled “operator=”Copy assignment operator
void operator=( other)Parameters:
| Name | Type | Description |
|---|---|---|
other | “ | The object to copy assign from |
operator=
Section titled “operator=”Move assignment operator
void operator=( other)Parameters:
| Name | Type | Description |
|---|---|---|
other | “ | The object to move assign from |
description
Section titled “description”Set the suite description.
void description(std::string_view desc)Parameters:
| Name | Type | Description |
|---|---|---|
desc | std::string_view | Description text. |
Add an epic label to the suite.
void epic(std::string_view epic)Parameters:
| Name | Type | Description |
|---|---|---|
epic | std::string_view | Epic identifier. |
Add a custom label to the suite.
void label(std::string_view name, std::string_view value)Parameters:
| Name | Type | Description |
|---|---|---|
name | std::string_view | Label name. |
value | std::string_view | Label value. |
Set the suite name.
void name(std::string_view name)Parameters:
| Name | Type | Description |
|---|---|---|
name | std::string_view | Human-readable suite name. |
severity
Section titled “severity”Add a severity label to the suite.
void severity(std::string_view severity)Parameters:
| Name | Type | Description |
|---|---|---|
severity | std::string_view | Severity value. |