pycord icon indicating copy to clipboard operation
pycord copied to clipboard

Improve test coverage (WIP)

Open BobDotCom opened this issue 2 years ago • 1 comments

Summary

Improves test coverage

Checklist

  • [ ] If code changes were made then they have been tested.
    • [ ] I have updated the documentation to reflect the changes.
  • [ ] If type: ignore comments were used, a comment is also left explaining why
  • [ ] This PR fixes an issue.
  • [ ] This PR adds something new (e.g. new method or parameters).
  • [ ] This PR is a breaking change (e.g. methods or parameters removed/renamed)
  • [ ] This PR is not a code change (e.g. documentation, README, typehinting, examples, ...)

BobDotCom avatar Apr 28 '22 21:04 BobDotCom

Codecov Report

Merging #1307 (6dd1ef6) into master (23e72dd) will increase coverage by 0.99%. The diff coverage is 100.00%.

:exclamation: Current head 6dd1ef6 differs from pull request most recent head f0818fe. Consider uploading reports for the commit f0818fe to get more accurate results

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1307      +/-   ##
==========================================
+ Coverage   33.42%   34.41%   +0.99%     
==========================================
  Files          93       93              
  Lines       17602    17726     +124     
==========================================
+ Hits         5884     6101     +217     
+ Misses      11718    11625      -93     
Flag Coverage Δ
pytest 34.41% <100.00%> (+0.99%) :arrow_up:

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

Impacted Files Coverage Δ
tests/helpers.py 100.00% <100.00%> (+25.00%) :arrow_up:
tests/test_utils.py 100.00% <100.00%> (ø)
discord/utils.py 50.63% <0.00%> (+19.57%) :arrow_up:

Continue to review full report at Codecov.

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

codecov-commenter avatar Apr 28 '22 23:04 codecov-commenter