EtienneDx / git-mentor

A git server with built-in tools for teaching programming
MIT License
2 stars 0 forks source link

Added authentication behavior #32

Closed EtienneDx closed 3 months ago

EtienneDx commented 3 months ago

Changes:

codecov[bot] commented 3 months ago

Codecov Report

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

Project coverage is 86.24%. Comparing base (2bc3fbc) to head (c880f02).

Files Patch % Lines
gmt-api/src/services/mod.rs 0.00% 16 Missing :warning:
gmt-api/src/services/structs.rs 16.66% 15 Missing :warning:
gmt-api/src/main.rs 0.00% 11 Missing :warning:
gmt-api/src/services/auth_service/structs.rs 40.00% 9 Missing :warning:
gmt-api/src/error.rs 0.00% 3 Missing :warning:
database/src/db_handle/assignment.rs 50.00% 1 Missing :warning:
database/src/db_handle/comment.rs 50.00% 1 Missing :warning:
gmt-api/src/services/auth_service/mod.rs 98.38% 1 Missing :warning:
gmt-api/src/services/auth_service/user_token.rs 96.77% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #32 +/- ## ========================================== - Coverage 87.61% 86.24% -1.37% ========================================== Files 27 33 +6 Lines 2155 2341 +186 ========================================== + Hits 1888 2019 +131 - Misses 267 322 +55 ```

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

EtienneDx commented 3 months ago

Coverage is low due to test modules being untested (No point testing mock structs and impl).

Front-end is untested. Might be required to add proper testing at some point, not urgent right now.