-
Notifications
You must be signed in to change notification settings - Fork 44
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
test: Boost collection test coverage #183
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #183 +/- ##
===========================================
+ Coverage 57.01% 57.43% +0.41%
===========================================
Files 98 98
Lines 9656 9643 -13
===========================================
+ Hits 5505 5538 +33
+ Misses 3523 3491 -32
+ Partials 628 614 -14
|
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.
Looks good, too aggresively removing some code those, check comments :)
Prob need to rebase and make sure theres no issues, as the p2p code changes/uses some stuff here. |
Is identical to the next check - fields == 0
Sequence code does not permit this to be true, and this private function is only called with an input from that sequence code
8cb9e0d
to
ccc60ae
Compare
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.
Last item to keep, on the newCollection
. Added a comment regarding Exists
too, lmk
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.
LGTM, up to you if you want to keep/remove that line in newCollection
, added my opinion. Other than that, looks golden. 👍
* Remove comments * Remove unused case (unsupported type) * Add dupilcate doc creation test * Remove commented out code * Add test for non-existant schema * Add test for empty collection name * Remove impossible if-clause * Add test for collection already existing * Remove duplicate check Is identical to the next check - fields == 0 * Add tests for schema with no fields * Add test for collection with no name * Add key field tests * Remove impossible check Sequence code does not permit this to be true, and this private function is only called with an input from that sequence code * Add tests for field property validation
Closes #182
No requirement for this to be added to the release