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

New analyzer: Flag public methods in test classes that doesn't have a test attribute. #34

Open
Youssef1313 opened this issue Mar 15, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request new-rule

Comments

@Youssef1313
Copy link
Owner

xUnit

Whenever there is a class containing at least a method with [Fact] or [Theory], ensure all other public methods having one of these attributes.

MSTest

Analyze classes marked with [TestClass] and look for any missing [TestMethod] (or [DataSource]) on a public method.

NUnit

Analyze classes marked with [TestFixture] and look for any missing [Test] or [Theory].

@Youssef1313 Youssef1313 added enhancement New feature or request new-rule labels Mar 15, 2021
@Youssef1313 Youssef1313 self-assigned this Mar 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request new-rule
Projects
None yet
Development

No branches or pull requests

1 participant