-
-
Notifications
You must be signed in to change notification settings - Fork 52
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
Native Testing: Google test failure output does not capture custom diagnostics written to result_listener #323
Comments
please add the definition of stripWhitepace |
Added to my original post. Though, the easiest way to reproduce would be to just do:
The test will always fail and you should see "PRINT ME" in the output. However, you won't see it when running with TestMate. |
Fixed in **v4.0.25**.This issue was mentioned in CHANGELOG.md under a released entry so it is assumed to be fixed. |
Thanks for working on this. However, I updated to the latest version and still have the same problem. I also still have the same problem as #329 . I do not see cout/cerr messages in the output. I'm on Linux (Debian 10) if that matters. |
I'm having a very similar problem as in #329 stderr output are shown in terminal when running manually but not in the extension. however stdout output's work as expected. I'm on windows sadly (windows 10) |
We have a custom GTest Matcher called
containsTokens
. It does the following:Note that we append additional failure diagnostics to the
result_listener
.which is used as follows:
This test will fail with the following message (just running the test binary):
However, if I run it in C++ TestMate, It prints the following:
Note that C++ TestMate does not print out the extra diagnostics that we wrote to the
result_listener
. This used to work before the switch to Native Testing. I'm not sure if this is a bug with TestMate or VSCode.The text was updated successfully, but these errors were encountered: