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

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

Open
GoogleCodeExporter opened this issue Jul 31, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

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
Copy link
Author

May not be worth the complexity.

Original comment by [email protected] on 6 Mar 2010 at 5:59

  • Added labels: Priority-Low
  • Removed labels: Priority-Medium

@GoogleCodeExporter
Copy link
Author

Original comment by [email protected] on 27 Sep 2010 at 7:09

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant