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

Introduce a function verify_current_test_outcome. #270

Merged
merged 1 commit into from
Jul 21, 2023

Conversation

hovinen
Copy link
Collaborator

@hovinen hovinen commented Jul 21, 2023

This allows a test to check whether the current test has passed or failed based on non-fatal assertions such as expect_that!. Its naming follows the pattern of verify_that! since it uses the same idiom of returning a googletest::Result.

@hovinen hovinen force-pushed the add-verify-current-test-outcome branch from 5c0fbf0 to a507f23 Compare July 21, 2023 09:27
This allows a test to check whether the current test has passed or failed based on non-fatal assertions such as `expect_that!`. Its naming follows the pattern of `verify_that!` since it uses the same idiom of returning a `googletest::Result`.
@hovinen hovinen force-pushed the add-verify-current-test-outcome branch from a507f23 to 978f6d1 Compare July 21, 2023 12:19
@copybara-service copybara-service bot merged commit e45d943 into main Jul 21, 2023
@gribozavr gribozavr deleted the add-verify-current-test-outcome branch February 17, 2025 18:29
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

Successfully merging this pull request may close these issues.

1 participant