Skip to content

test(spp_api_v2_gis): increase test coverage from 72% to 90% with 151…

07581b5
Select commit
Loading
Failed to load commit list.
Open

feat(spp_api_v2_gis): promote to Beta with validation and exception fixes #147

test(spp_api_v2_gis): increase test coverage from 72% to 90% with 151…
07581b5
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Apr 8, 2026 in 0s

71.56% (+0.50%) compared to f738582

View this Pull Request on Codecov

71.56% (+0.50%) compared to f738582

Details

Codecov Report

❌ Patch coverage is 84.84848% with 5 lines in your changes missing coverage. Please review.
✅ Project coverage is 71.56%. Comparing base (f738582) to head (07581b5).
⚠️ Report is 7 commits behind head on 19.0.

Files with missing lines Patch % Lines
spp_api_v2_gis/schemas/query.py 86.36% 3 Missing ⚠️
spp_api_v2_gis/routers/proximity.py 0.00% 1 Missing ⚠️
spp_api_v2_gis/routers/spatial_query.py 0.00% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             19.0     #147      +/-   ##
==========================================
+ Coverage   71.06%   71.56%   +0.50%     
==========================================
  Files         925      925              
  Lines       54704    54731      +27     
==========================================
+ Hits        38876    39170     +294     
+ Misses      15828    15561     -267     
Files with missing lines Coverage Δ
spp_api_v2_gis/__manifest__.py 0.00% <ø> (ø)
spp_api_v2_gis/routers/statistics.py 93.33% <100.00%> (+56.66%) ⬆️
spp_api_v2_gis/schemas/geofence.py 100.00% <100.00%> (ø)
spp_api_v2_gis/routers/proximity.py 76.92% <0.00%> (+30.76%) ⬆️
spp_api_v2_gis/routers/spatial_query.py 70.00% <0.00%> (+35.00%) ⬆️
spp_api_v2_gis/schemas/query.py 96.29% <86.36%> (-3.71%) ⬇️

... and 7 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.