fcd24729df
- adding tests for custom command line argument passing - using command line argument in global fixtures and raising strong errors - using command line argument in init function and describing the errors - using command line argument dataset test cases and describing the errors - removing sample totally from all the examples
15 lines
755 B
Plaintext
15 lines
755 B
Plaintext
//[example_output
|
|
> runtime_configuration1 --log_level=all --no_color -- --specific-param "'additional value with quotes'"
|
|
Running 1 test case...
|
|
Entering test module "runtime_configuration"
|
|
test.cpp:14: Entering test case "test_accessing_command_line"
|
|
test.cpp:16: info: check framework::master_test_suite().argc == 3 has passed
|
|
test.cpp:17: info: check framework::master_test_suite().argv[1] == "--specific-param" has passed
|
|
test.cpp:18: info: check framework::master_test_suite().argv[2] == "'additional value with quotes'" has passed
|
|
'argv[0]' contains runtime_configuration1
|
|
test.cpp:14: Leaving test case "test_accessing_command_line"; testing time: 178us
|
|
Leaving test module "runtime_configuration"; testing time: 220us
|
|
|
|
*** No errors detected
|
|
//]
|