Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve test coverage #56

Merged
merged 2 commits into from
Aug 17, 2021
Merged

Improve test coverage #56

merged 2 commits into from
Aug 17, 2021

Conversation

ollipa
Copy link
Member

@ollipa ollipa commented Aug 15, 2021

I added some tests to cover some cases that were not tested before. There are still a few lines that are not covered by tests.

Related to #12.

@ollipa ollipa self-assigned this Aug 15, 2021
@codecov-commenter
Copy link

codecov-commenter commented Aug 15, 2021

Codecov Report

Merging #56 (d9e9e58) into master (3edc739) will increase coverage by 2.19%.
The diff coverage is n/a.

❗ Current head d9e9e58 differs from pull request most recent head e838db7. Consider uploading reports for the commit e838db7 to get more accurate results
Impacted file tree graph

@@            Coverage Diff             @@
##           master      #56      +/-   ##
==========================================
+ Coverage   94.81%   97.00%   +2.19%     
==========================================
  Files           4        4              
  Lines         771      769       -2     
==========================================
+ Hits          731      746      +15     
+ Misses         40       23      -17     
Impacted Files Coverage Δ
src/flexmock/api.py 98.82% <ø> (+2.47%) ⬆️

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 3edc739...e838db7. Read the comment docs.

tests/flexmock_test.py Show resolved Hide resolved
tests/flexmock_test.py Show resolved Hide resolved
tests/flexmock_test.py Show resolved Hide resolved
tests/flexmock_test.py Outdated Show resolved Hide resolved
tests/flexmock_test.py Show resolved Hide resolved
Base automatically changed from task/coverage to master August 16, 2021 10:18
Copy link
Contributor

@christophe-riolo christophe-riolo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's merge this ! 👍

@ollipa ollipa merged commit 2eaadcd into master Aug 17, 2021
@ollipa ollipa deleted the task/improve-test-coverage branch August 17, 2021 00:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants