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

Output succeeded assertions #3678

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Output succeeded assertions #3678

wants to merge 6 commits into from

Conversation

m42e
Copy link

@m42e m42e commented Nov 21, 2021

This change allows to include succeeded assertions into the output (xml, json, terminal).

It introduces a flag called --gtest_output_succeed.

It also adds type to the failures in the json output. Please let me know if this should be done in another way (like a separate array for succeeded ones).

Would be happy if you can give me some feedback.

I think this basically covers what is requested in #3474

@google-cla google-cla bot added the cla: yes label Nov 21, 2021
@m42e m42e changed the title Output succeeded Output succeeded assertions Nov 21, 2021
googlemock/include/gmock/gmock-matchers.h Outdated Show resolved Hide resolved
googlemock/test/gmock-matchers_test.cc Show resolved Hide resolved
googletest/include/gtest/gtest_pred_impl.h Outdated Show resolved Hide resolved
googletest/test/gtest_unittest.cc Show resolved Hide resolved
@m42e m42e requested a review from asoffer November 23, 2021 18:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants