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

Add support for faking errors for throwing functions #4

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

danielr
Copy link
Owner

@danielr danielr commented Jul 10, 2019

See #2.

  • Support in FunctionMock
  • Support in ReturningFunctionMock
  • Extend example
  • Extend documentation

@danielr danielr self-assigned this Jul 10, 2019
@codecov-io
Copy link

codecov-io commented Jul 10, 2019

Codecov Report

Merging #4 into master will increase coverage by 0.34%.
The diff coverage is 98.82%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master       #4      +/-   ##
==========================================
+ Coverage   98.27%   98.62%   +0.34%     
==========================================
  Files           6        6              
  Lines         290      363      +73     
==========================================
+ Hits          285      358      +73     
  Misses          5        5
Impacted Files Coverage Δ
Mokka/Sources/FunctionMock/FunctionMock.swift 100% <100%> (ø) ⬆️
...ests/FunctionMock/ReturningFunctionMockTests.swift 100% <100%> (ø) ⬆️
Mokka/Tests/FunctionMock/FunctionMockTests.swift 100% <100%> (ø) ⬆️
...a/Sources/FunctionMock/ReturningFunctionMock.swift 97.77% <93.33%> (+0.4%) ⬆️

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 601c0db...236a6ed. Read the comment docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants