-
Notifications
You must be signed in to change notification settings - Fork 92
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
feat: Add 'no-empty-tests' rule #99
Conversation
I've forked the project and welcome PRs: #100. |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@davidkaufmann are you still interested in contributing this? I was asked to take a look at a few stale PRs and wanted to see if you were interested as well as willing to sign the CLA?
Empty tests will always pass. | ||
In large testsuites tests might have been initialized but not yet written. | ||
Passing but nevertheless empty tests will suggest functionality has been tested, although it hasn't. | ||
Having empty tests might seem convenient for reasons, it isn't on execution though. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Having empty tests might seem convenient for reasons, it isn't on execution though. |
closing due to inactivity |
Empty tests will always pass.
In large testsuites tests might have been initialized but not yet written.
Passing but nevertheless empty tests will suggest functionality has been tested, although it hasn't.
Having empty tests might seem convenient for reasons, it isn't on execution though.
Empty tests should always be deleted or skipped.