matheusgomes28 / urchin

Headless CMS written in Golang
MIT License
60 stars 19 forks source link

Adding more unit tests for endpoints #46

Closed matheusgomes28 closed 5 months ago

matheusgomes28 commented 6 months ago

Increase the coverage a little bit by testing endpoints

codecov[bot] commented 6 months ago

Codecov Report

Attention: Patch coverage is 66.66667% with 9 lines in your changes are missing coverage. Please review.

Project coverage is 23.95%. Comparing base (31d7cf6) to head (a079fe6).

Files Patch % Lines
tests/mocks/mocks.go 50.00% 6 Missing :warning:
admin-app/post.go 0.00% 1 Missing :warning:
app/app.go 87.50% 1 Missing :warning:
app/cache.go 83.33% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #46 +/- ## ========================================== + Coverage 5.60% 23.95% +18.35% ========================================== Files 13 14 +1 Lines 625 643 +18 ========================================== + Hits 35 154 +119 + Misses 589 472 -117 - Partials 1 17 +16 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.