nus-cs2103-AY2425S1 / forum

12 stars 0 forks source link

Codecov test failing #325

Closed wang-h-z closed 1 month ago

wang-h-z commented 1 month ago
Screenshot 2024-09-18 at 3 24 43 PM

Message given by Codecov check: 0.00% of diff hit (target 75.26%)

Anybody has any idea why Codecov is constantly failing?

damithc commented 1 month ago

@wang-h-z In some cases the code you edit is not covered by existing tests, which means codecov will report it as not adhering to the current coverage target of 75%. It is fine to ignore those warnings, or reduce the target coverage level codecov checks against. The third alternative is to add tests to increase the coverage of the lines in concern (probably too early to take that route, as you are still not familiar with the codebase).

Codecov is there to help you manage code coverage -- it is not graded.

Also see below: image

nus-se-bot commented 1 month ago

@wang-h-z A gentle reminder to close this issue if the problem has been resolved. If not resolved yet, please post a comment explaining which part of the problem/question remains unresolved.