googletest
googletest copied to clipboard
[FR]: Please add a unit Test (Demo) of `throw testing::AssertionException(result);` via OnTestPartResult
Does the feature exist in the most recent commit?
I cannot get a the parent test TEST(TestSuiteName, TestName)
to fail
when a subroutine calls ASSERT_TRUE(false condition) << message
The Message
is dumped to the output as well as the failure, but the TestName
still is marked as passed (And continues with the next steps !)
Why do we need this feature?
Prove that the documentation still does what it states to enforce subroutine ASSERTS are passed to the calling TEST state
Describe the proposal.
Prove that the documentation still does what it states to enforce subroutine ASSERTS are passed to the calling TEST state
Is the feature specific to an operating system, compiler, or build system version?
Shouldn't be, but I'm using GTest code base latest via nuget SrdC++20 via x64 build of std code via Visual Studio (i.e. no MFC etc. just CRuntime 14.36) The Subroutine is in a "Test Utility" dll.