tanghong123 / googletest

Automatically exported from code.google.com/p/googletest
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Value-parameterized tests need to warn about uninstantiated test cases. #109

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Google Test needs to notify the user when a value-parameterized test has
not been instantiated. Otherwise the user can forget to instantiate it,
leading to lapses in test coverage.

Also, value-parameterized tests can be written in one place and
instantiated separately. If such tests are out into a library with the
intention to be instantiated separately, they need to be able to opt out of
such warning. Suggested opt-out macro name:
TEST_P_DOES_NOT_NEED_TO_BE_INSTANTIATED(TestCaseName)

Original issue reported on code.google.com by vladlosev on 6 Feb 2009 at 12:31

GoogleCodeExporter commented 9 years ago
May not be worth the complexity.

Original comment by w...@google.com on 6 Mar 2010 at 5:59

GoogleCodeExporter commented 9 years ago

Original comment by w...@google.com on 27 Sep 2010 at 7:09