Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to query if code is being ran inside of a test - doctest::is_running_in_test #56

Closed
onqtam opened this issue Mar 17, 2017 · 0 comments

Comments

@onqtam
Copy link
Member

onqtam commented Mar 17, 2017

No description provided.

onqtam added a commit that referenced this issue Mar 17, 2017
…st::isRunningInTest() - relates #56

- updated copyright years
- minor code rework
onqtam added a commit that referenced this issue May 15, 2017
…st::isRunningInTest() - relates #56

- updated copyright years
- minor code rework
@onqtam onqtam closed this as completed May 15, 2017
onqtam added a commit that referenced this issue Jul 2, 2018
…out recompiling! currently the fast asserts are optimized for runtime speed to the maximum but the other asserts are not. Sadly logging macros - like INFO() - aren't supported... yet! - closes #114 - the way to do it is to call setAsDefaultForAssertsOutOfTestCases() on a doctest::Context and optionally to register a custom handler with doctest::Context::setAssertHandler()

- doctest::isRunningInTest() changed to doctest::is_running_in_test - a bool... for performance reasons - relates #56
@onqtam onqtam changed the title Add option to query if code is being ran inside of a test - doctest::isRunningInTest() Add option to query if code is being ran inside of a test - doctest::is_running_in_test Jul 3, 2018
onqtam added a commit that referenced this issue Aug 23, 2018
…out recompiling! currently the fast asserts are optimized for runtime speed to the maximum but the other asserts are not. Sadly logging macros - like INFO() - aren't supported... yet! - closes #114 - the way to do it is to call setAsDefaultForAssertsOutOfTestCases() on a doctest::Context and optionally to register a custom handler with doctest::Context::setAssertHandler()

- doctest::isRunningInTest() changed to doctest::is_running_in_test - a bool... for performance reasons - relates #56
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

No branches or pull requests

1 participant