Skip to content

test(spp_hazard): add 6 incident tests covering untested code paths

de35ee4
Select commit
Loading
Failed to load commit list.
Open

fix: improve spp_hazard performance, security, UX, and test coverage #101

test(spp_hazard): add 6 incident tests covering untested code paths
de35ee4
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Mar 12, 2026 in 0s

71.20% (+0.03%) compared to 9c2376e

View this Pull Request on Codecov

71.20% (+0.03%) compared to 9c2376e

Details

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 71.20%. Comparing base (9c2376e) to head (de35ee4).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             19.0     #101      +/-   ##
==========================================
+ Coverage   71.17%   71.20%   +0.03%     
==========================================
  Files         704      704              
  Lines       38554    38565      +11     
==========================================
+ Hits        27439    27462      +23     
+ Misses      11115    11103      -12     
Files with missing lines Coverage Δ
spp_hazard/models/hazard_category.py 100.00% <100.00%> (ø)
spp_hazard/models/hazard_impact.py 100.00% <100.00%> (ø)
spp_hazard/models/hazard_impact_type.py 100.00% <100.00%> (ø)
spp_hazard/models/hazard_incident.py 100.00% <100.00%> (+12.34%) ⬆️
spp_hazard/models/registrant.py 100.00% <100.00%> (+24.00%) ⬆️

... and 1 file 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.