Skip to content

Add backend tests for certificate generation - #5342

Open
anurag2787 wants to merge 12 commits into
OWASP:feature/contributor-recognition-programfrom
anurag2787:score-calculation-test
Open

Add backend tests for certificate generation#5342
anurag2787 wants to merge 12 commits into
OWASP:feature/contributor-recognition-programfrom
anurag2787:score-calculation-test

Updated certificate graphql test

8900d88
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Aug 16, 2026 in 1s

98.73% (target 95.00%)

View this Pull Request on Codecov

98.73% (target 95.00%)

Details

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.73%. Comparing base (90ce862) to head (8900d88).
⚠️ Report is 2 commits behind head on feature/contributor-recognition-program.

Additional details and impacted files

Impacted file tree graph

@@                             Coverage Diff                             @@
##           feature/contributor-recognition-program    #5342      +/-   ##
===========================================================================
+ Coverage                                    97.93%   98.73%   +0.79%     
===========================================================================
  Files                                          555      555              
  Lines                                        17695    17701       +6     
  Branches                                      2524     2525       +1     
===========================================================================
+ Hits                                         17330    17477     +147     
+ Misses                                         263      122     -141     
  Partials                                       102      102              
Files with missing lines Coverage Δ
backend/src/apps/owasp/utils/score_calculator.py 97.47% <100.00%> (+74.78%) ⬆️

... and 7 files with indirect coverage changes


Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 77e0f88...8900d88. Read the comment docs.

🚀 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.