-
Notifications
You must be signed in to change notification settings - Fork 1
Add more unit tests for threaded services tests #348
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
base: main
Are you sure you want to change the base?
Conversation
…ed.py, covering cache hashing, extensionless moves, debug-only writes, disk writers, usage/jurisdiction updaters, and HTML loader flows so the module now hits all conditional paths.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #348 +/- ##
==========================================
+ Coverage 40.02% 42.19% +2.16%
==========================================
Files 45 45
Lines 4240 4240
Branches 380 380
==========================================
+ Hits 1697 1789 +92
+ Misses 2523 2434 -89
+ Partials 20 17 -3
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds comprehensive unit test coverage for the threaded services module, testing various file caching, writing, and processing utilities used by the COMPASS project.
- Adds 18 new test functions covering private utility functions and service classes
- Tests file caching with hash computation, file moving operations, cleaned file writing, ordinance database writing, and HTML file loading
- Includes tests for services like
TempFileCache,TempFileCachePB,CleanedFileWriter,OrdDBFileWriter,UsageUpdater, andJurisdictionUpdater
Slowly working toward the goal of 80%+ coverage