Skip to content

Add more test coverage for backend - #8048

Merged
SchrodingersGat merged 21 commits into
inventree:masterfrom
matmair:add-test-coverage
Sep 2, 2024
Merged

SchrodingersGat merged 21 commits into
inventree:masterfrom
matmair:add-test-coverage

Conversation

@matmair

@matmair matmair commented Sep 1, 2024 •

Copy link
Copy Markdown
Member

This PR adds more coverage to following modules:

  • web (now 100%)
  • users (now 99.5%)
  • stock - a few serializers

And a few default admin routes.

@matmair matmair added the CI CI / unit testing ecosystem label Sep 1, 2024
@matmair matmair added this to the 0.17.0 milestone Sep 1, 2024
@matmair matmair self-assigned this Sep 1, 2024
@netlify

netlify Bot commented Sep 1, 2024 •

Copy link
Copy Markdown

✅ Deploy Preview for inventree-web-pui-preview canceled.

Name Link
🔨 Latest commit 26101b4
🔍 Latest deploy log https://app.netlify.com/sites/inventree-web-pui-preview/deploys/66d4acc4a2dc20000837efba

@codecov

codecov Bot commented Sep 1, 2024 •

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.84%. Comparing base (4bf406b) to head (26101b4).
Report is 303 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #8048      +/-   ##
==========================================
+ Coverage   83.64%   83.84%   +0.20%     
==========================================
  Files        1142     1142              
  Lines       50871    50952      +81     
  Branches     1777     1777              
==========================================
+ Hits        42550    42723     +173     
+ Misses       7871     7779      -92     
  Partials      450      450              
Flag Coverage Δ
backend 85.71% <100.00%> (+0.24%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@matmair
matmair marked this pull request as ready for review September 1, 2024 18:31
@SchrodingersGat
SchrodingersGat merged commit 79affbe into inventree:master Sep 2, 2024
@SchrodingersGat
SchrodingersGat deleted the add-test-coverage branch September 2, 2024 00:13
@matmair matmair mentioned this pull request Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI CI / unit testing ecosystem

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants