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

[FEATURE] Provide a way to log arbitrary data on failure. #32

Closed
DenisYaroshevskiy opened this issue Jan 31, 2021 · 0 comments · Fixed by #39
Closed

[FEATURE] Provide a way to log arbitrary data on failure. #32

DenisYaroshevskiy opened this issue Jan 31, 2021 · 0 comments · Fixed by #39
Labels
enhancement New feature or request

Comments

@DenisYaroshevskiy
Copy link

Gtest allows to stream data:

ASSERT_EQ(a, b) << "index: " << index;

Catch uses INFO macro

INFO("index" << index);

Something like that.
Should log only on failure.

@DenisYaroshevskiy DenisYaroshevskiy added the bug Something isn't working label Jan 31, 2021
@jfalcou jfalcou added enhancement New feature or request and removed bug Something isn't working labels Mar 13, 2021
@jfalcou jfalcou linked a pull request Jun 6, 2021 that will close this issue
jfalcou added a commit that referenced this issue Jul 1, 2021
This is a major breaking change commit
Fix #3 - Add support for TPL_CASES with meta-generator
Fix #32 - Provide a way to log arbitrary data on failure. 
Fix #33 - ASSERT instead of EXPECT
Fix #34 more digits on output of double results
Fix #37 const char* is not a string
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants