Make skip unknown schemas optional#15
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.
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.