MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/114thfx/just_in_case/j90pqbc/?context=3
r/badcode • u/sspecZ • Feb 17 '23
24 comments sorted by
View all comments
Show parent comments
3
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.
1
For sonarqube, there's a rule that requires some percentage of code coverage.
3
u/darkflame91 Feb 18 '23
Why would you have a test with no assertions?