Skip to content

Add Boost Test Adapter 'red-pill'#102

Open
netspiri wants to merge 1 commit intomicrosoft:dev15from
netspiri:feature/BUTA-env-var
Open

Add Boost Test Adapter 'red-pill'#102
netspiri wants to merge 1 commit intomicrosoft:dev15from
netspiri:feature/BUTA-env-var

Conversation

@netspiri
Copy link
Copy Markdown

Cherry pick of etas/vs-boost-unit-test-adapter@39cd476.

Test executions through the Boost.Test adapter can be noted at runtime by testing for the environment variable BUTA. This allows test modules to adapt their behaviour depending on the runtime environment (e.g. disable tests, emit additional output etc.).

…ironment variable "BUTA" whenever it is executing tests. This is done so as to provide a means to the developer to detect that the unit tests are being executed using boost unit test adapter. This can be useful in a scenario where for example a developer might decide to increase the verbosity level of the logs written to the standard output during the test execution.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants