#define TTS_CASE_WITH | ( | ID, | |
TYPES, | |||
GENERATOR | |||
) |
Introduces a template test case providing dynamically generated data to the test code.
The following code block will contain tests parametrized by a template type of your choice passed as lambda function parameters and generated for each type in the types list.
Such types list can be provided as:
types_list
type definitionData are passed using the tts::generate function to aggregate data generator. Test cases performing no actual tests will be reported as invalid.
ID | A literal string describing the scenario intents. |
TYPES | Lists of types to generate the test case from. |
GENERATOR | A generator function |