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

Split test fixtures #85

Merged
merged 3 commits into from
Dec 14, 2024
Merged

Split test fixtures #85

merged 3 commits into from
Dec 14, 2024

Conversation

caarmen
Copy link
Owner

@caarmen caarmen commented Dec 14, 2024

  • Move test data to a "testdata" package.
  • Move the mock datetime utility to a mocks package.
  • Move pytest fixtures out of conftest.py and into separate plugin packages.

Copy link

File Coverage
All files 98%
logger.py 91%
main.py 97%
settings.py 99%
data/database/connection.py 92%
domain/localrepository/localwithingsrepository.py 94%
domain/usecases/slack/usecase_post_daily_activity.py 94%
domain/usecases/slack/usecase_post_sleep.py 97%
remoteservices/api/withings/subscribeapi.py 83%
remoteservices/api/withings/weightapi.py 93%
remoteservices/repositories/webapifitbitrepository.py 97%
routers/dependencies.py 85%
tasks/fitbitpoll.py 96%
tasks/post_daily_activities_task.py 92%

Minimum allowed coverage is 80%

Generated by 🐒 cobertura-action against 4644510

@caarmen caarmen marked this pull request as ready for review December 14, 2024 20:46
@caarmen caarmen merged commit 9eb6059 into main Dec 14, 2024
3 checks passed
@caarmen caarmen deleted the split-test-fixtures branch December 14, 2024 20:46
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.

1 participant