Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Extending test coverage (#174) #197

Merged
merged 14 commits into from
Nov 10, 2023

Conversation

gromdimon
Copy link
Contributor

@gromdimon gromdimon commented Nov 8, 2023

Various tests include:

Backend

  • Create tests for caseinfo crud
  • Create tests for app/app/utils (email generation)
  • Create tests for bookmarks api
  • Create tests for caseinfo api
  • Create tests for email api

Frontend

  • Add more test cases to api/settings.spec.ts
  • Create tests for api/utils.ts
  • Create tests for api/viguno.ts
  • Create tests for stores/terms.ts
  • Create tests for views/PrivacyView.vue
  • Create tests for views/TermsView.vue
  • Create tests for views/VerifyEmail.vue
  • Add more integration tests to views/*

@gromdimon gromdimon linked an issue Nov 8, 2023 that may be closed by this pull request
@gromdimon gromdimon self-assigned this Nov 8, 2023
Copy link

codecov bot commented Nov 8, 2023

Codecov Report

Merging #197 (d3e039c) into main (27c7d98) will increase coverage by 11.93%.
The diff coverage is 78.00%.

Additional details and impacted files
@@             Coverage Diff             @@
##             main     #197       +/-   ##
===========================================
+ Coverage   76.18%   88.11%   +11.93%     
===========================================
  Files         125       43       -82     
  Lines        3729      808     -2921     
  Branches      832        0      -832     
===========================================
- Hits         2841      712     -2129     
+ Misses        822       96      -726     
+ Partials       66        0       -66     
Files Coverage Δ
backend/app/api/api_v1/endpoints/utils.py 100.00% <100.00%> (+15.38%) ⬆️
backend/app/api/deps.py 66.66% <100.00%> (+12.12%) ⬆️
backend/app/app/utils.py 88.23% <100.00%> (+56.80%) ⬆️
backend/app/core/auth.py 86.04% <100.00%> (+11.62%) ⬆️
backend/app/core/config.py 90.14% <ø> (-0.14%) ⬇️
backend/app/core/deps.py 100.00% <100.00%> (ø)
backend/app/db/init_db.py 86.20% <100.00%> (+24.66%) ⬆️
backend/app/main.py 91.30% <100.00%> (-0.37%) ⬇️
backend/app/api/api_v1/endpoints/caseinfo.py 73.46% <55.55%> (+15.69%) ⬆️
backend/app/api/api_v1/endpoints/bookmarks.py 75.60% <46.15%> (+13.44%) ⬆️

... and 84 files with indirect coverage changes

@gromdimon gromdimon marked this pull request as draft November 8, 2023 10:21
@gromdimon gromdimon marked this pull request as ready for review November 10, 2023 17:06
@gromdimon gromdimon merged commit 8848960 into main Nov 10, 2023
9 checks passed
@gromdimon gromdimon deleted the 174-extend-test-coverage-in-backend branch November 10, 2023 17:31
@holtgrewe holtgrewe added this to the 0.3.0 milestone Dec 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Extend test coverage in backend.
2 participants