-
Notifications
You must be signed in to change notification settings - Fork 253
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
Test classes should have test methods #2374
Comments
The analyzer should consider Assembly Initializers:
|
Thanks for the feedback! I was considering it through a |
Ah, so
would work? |
Just realizing that I already created a ticket for this one here #2236. Will close this one as duplicate and copy your comments. |
Summary
Enabled by default: true
Default severity: Info
Title: Test classes should have test methods
When a non-abstract or static type is marked with
[TestClass]
(or any descendant), it should contain at least one test method.The text was updated successfully, but these errors were encountered: