Open GoogleCodeExporter opened 9 years ago
A patch has been written for this issue - all that needs to be decided is the
exact format for displaying the list of disabled tests.
See the discussion on the gtest discussion forum titled "Format for displaying
disabled test names" for options/opinions.
The current proposed solution would change the current 'summary' of the output
from gtest from this:
[----------] Global test environment tear-down
[==========] 100 tests from 10 test cases ran. (496 ms total)
[ PASSED ] 99 tests.
[ FAILED ] 2 tests, listed below:
[ FAILED ] FailingTestCase.OneFailingTest
[ FAILED ] FailingTestCase.AnotherFailingTest
2 FAILED TESTS
YOU HAVE 2 DISABLED TESTS
To this:
[----------] Global test environment tear-down
[==========] 100 tests from 10 test cases ran. (496 ms total)
[ PASSED ] 99 tests.
[ DISABLED ] 1 test, listed below:
[ DISABLED ] DisabledTestCase.DISABLED_oneDisabledTest
[ DISABLED ] DisabledTestCase.DISABLED_anotherDisabledTest
[ FAILED ] 2 tests, listed below:
[ FAILED ] FailingTestCase.OneFailingTest
[ FAILED ] FailingTestCase.AnotherFailingTest
2 FAILED TESTS
YOU HAVE 2 DISABLED TESTS
(With the '[ DISABLED ]' markers being coloured yellow.)
Original comment by jdc....@gmail.com
on 8 Aug 2014 at 8:21
One extension to this would be to allow some sort of description of why the
test is disabled. At present we have these in comments but having them in
particular in the XML output would allow test managers to at least know who and
why someone disabled a test.
Original comment by davidhun...@gmail.com
on 1 Jul 2015 at 3:41
Original issue reported on code.google.com by
jdc....@gmail.com
on 24 Jan 2014 at 3:48