petereon / beaupy

A Python library of interactive CLI elements you have been looking for
https://petereon.github.io/beaupy/
MIT License
183 stars 13 forks source link

test: adding tests to increase coverage #16

Closed petereon closed 1 year ago

petereon commented 1 year ago

Tests to increase the coverage to acceptable percentages

codecov-commenter commented 1 year ago

Codecov Report

Merging #16 (4d63923) into master (ea0f02e) will increase coverage by 15.59%. The diff coverage is 100.00%.

@@             Coverage Diff             @@
##           master      #16       +/-   ##
===========================================
+ Coverage   80.48%   96.07%   +15.59%     
===========================================
  Files           2        2               
  Lines         205      204        -1     
  Branches       63       62        -1     
===========================================
+ Hits          165      196       +31     
+ Misses         24        2       -22     
+ Partials       16        6       -10     
Flag Coverage Δ
unittests 96.07% <100.00%> (+15.59%) :arrow_up:

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

Impacted Files Coverage Δ
beaupy/beaupy.py 95.53% <100.00%> (+17.75%) :arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication