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

coverage testing #15

Merged
merged 3 commits into from
Oct 24, 2023
Merged

coverage testing #15

merged 3 commits into from
Oct 24, 2023

Conversation

magland
Copy link
Collaborator

@magland magland commented Oct 24, 2023

@luiztauffer I am expanding testing, including testing of the api. I am using a simple homemade mock client for mongo.

Here's the main test that goes through gui operations (create project, create job, etc) to compute resource operations (get unfinished jobs, ...) and processor operations (set job status, ...)

https://github.com/scratchrealm/protocaas/blob/aabb6c13476db8d40451229008a95c69111b5c35/python/tests/test_api.py

@codecov
Copy link

codecov bot commented Oct 24, 2023

Codecov Report

Attention: 25 lines in your changes are missing coverage. Please review.

Files Coverage Δ
python/protocaas/api_helpers/clients/db.py 63.38% <100.00%> (+63.38%) ⬆️
python/protocaas/api_helpers/clients/pubsub.py 50.00% <100.00%> (+50.00%) ⬆️
...i_helpers/routers/gui/_authenticate_gui_request.py 44.73% <90.90%> (+44.73%) ⬆️
.../protocaas/api_helpers/routers/processor/router.py 40.00% <33.33%> (+40.00%) ⬆️
...protocaas/api_helpers/clients/_get_mongo_client.py 76.19% <61.53%> (+76.19%) ⬆️
...n/protocaas/api_helpers/clients/MockMongoClient.py 81.70% <81.70%> (ø)

... and 18 files with indirect coverage changes

📢 Thoughts on this report? Let us know!.

@magland magland merged commit ab35c8b into main Oct 24, 2023
6 checks passed
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.

None yet

1 participant