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 rule S2970: Assertions should be complete #6662
Labels
Projects
Milestone
Comments
This rule could be implemented as an additional diagnostic inside of S2699. |
MSTest was removed because |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
S2970
RSpec change: SonarSource/rspec#1518
Related rule S2699 implemented in TestMethodShouldContainAssertion
Methods/Props without "continuation" that should be detected:
MSTest:Update:Assert.That
is a property and can not be misused.Assert.That
StringAssert.That
CollectionAssert.That
Should()
Check.That()
Received()
and related likeDidNotReceiveWithAnyArgs()
Unaffected libraries:
Existing rules in the testing libs:
The text was updated successfully, but these errors were encountered: