-
Notifications
You must be signed in to change notification settings - Fork 2
Make skip unknown schemas optional #15
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
Conversation
Codecov Report
@@ Coverage Diff @@
## master #15 +/- ##
==========================================
- Coverage 96.57% 96.24% -0.34%
==========================================
Files 3 3
Lines 263 266 +3
Branches 8 9 +1
==========================================
+ Hits 254 256 +2
Misses 1 1
- Partials 8 9 +1
Continue to review full report at Codecov.
|
|
Does this look good, or do we need to address the code coverage? |
JasonStiefel
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would be nice to have more coverage, but that shouldn't stop this going through. the functionality is tested.
|
I would like to keep coverage as high as possible, preferably above 97%. That's the only way we can make sure we don't introduce regressions. In the current case, it has covered 93.33% of the changes introduced in this PR and there is room for improvement. If you go to https://codecov.io/gh/rkaippully/scim-patch/compare/eb360c6365d346a44716045a46eec6febd75a46e...f97b22718bc1a45db23f5e4f4763ebd294bdecdb/diff you can see lines/forms that don't have 100% coverage in yellow or red. BTW, you can run this locally with |
|
I ran Thus, it seems that the coverage is already above 97%. Am I missing something? |
|
Sorry, let me clarify. There are two coverage metrics tracked here - Besides, there is a difference between the output of For now, I'll relax the settings so that this PR can be merged. I am trying to make the situation better in #17 and add some more tests so that the coverage is above 97% (it is arbitrary, but we have to draw the line somewhere). |
|
Thanks, Raghu! |
This PR addresses issue #8 by adding an option
skip-unknown-schemasas suggested there, defaulting to false.