-
-
Notifications
You must be signed in to change notification settings - Fork 649
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
Customize test names / variable substitution #284
Comments
Doesn't the code you pasted work? Isn't there something like this on the next 2 lines after what you showed:
Where |
I am using the XML reporter and the test name there is just |
For this example from doctest: https://github.com/onqtam/doctest/blob/master/examples/all_features/logging.cpp#L20 Note the Isn't there something like that in your xml output? |
I can't think of a way to add What the {
INFO(msg << var << msg2);
CHECK(cond);
} and in the report doctest will stringify
|
@dhardtke I'm thinking of closing this issue soon - let me know if there are any further questions. |
Description
This might be a feature request as I have not found any way to do this using existing features.
Suppose I have a test case like this:
When the test is executed I get
ERROR: CHECK( fibonacci(n) == reference ) is NOT correct!
. Is there any way to substitute then
variable in the message?The text was updated successfully, but these errors were encountered: