Skip to content
This repository has been archived by the owner on Apr 30, 2022. It is now read-only.

SonarLint throwing error when only SoftAsserts are used in a test #539

Closed
FermJacob opened this issue Nov 3, 2020 · 0 comments · Fixed by #563
Closed

SonarLint throwing error when only SoftAsserts are used in a test #539

FermJacob opened this issue Nov 3, 2020 · 0 comments · Fixed by #563
Assignees

Comments

@FermJacob
Copy link
Collaborator

If a TestMethod is only using SoftAsserts, SonarLint is throwing the following error: Tests should include assertions

https://rules.sonarsource.com/csharp/RSPEC-2699

MAQS should add [AssertionMethod] to the fail check

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant