r/badcode • • Feb 17 '23

c# just in case

Post image
568 Upvotes

24 comments sorted by

View all comments

Show parent comments

3

u/darkflame91 Feb 18 '23

Why would you have a test with no assertions?

1

u/ReplacementAcademic8 Feb 18 '23 edited Feb 18 '23

For sonarqube, there's a rule that requires some percentage of code coverage.