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
gregory-paidis-sonarsource
added
Type: New Feature
This hasn't been here before.
Area: C#
C# rules related issues.
labels
Jan 23, 2023
This rule could be implemented as an additional diagnostic inside of S2699. |
MSTest was removed because |
github-actions
bot
moved this from Review in progress
to Review approved
in Best Kanban
Feb 24, 2023
github-actions
bot
assigned martin-strecker-sonarsource and unassigned martin-strecker-sonarsource
Feb 27, 2023
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: