I think googletest should skip running tests (or automatically mark as
failed) in a particular fixture if we call SetUpTestCase() function
and there is fatal failure in it. Suppose we create some shared object
in SetUpTestCase() function and try to access that in TEST_F. But the
failure to create that object in SetUpTestCase() cause to access NULL
inside TEST_F.
So if we make fatal assertion in SetUpTestCase() itself, then above
problem can be avoided.
Original issue reported on code.google.com by pvshew...@gmail.com on 11 Jan 2010 at 6:39
Original issue reported on code.google.com by
pvshew...@gmail.com
on 11 Jan 2010 at 6:39