-
Notifications
You must be signed in to change notification settings - Fork 10
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
Bring initial coverage up to 100% #1
Comments
@devinivy yo! I'd love to take a shot at helping with this, down for whatever. Any lines in particular you'd prefer I take? I'm also happy to pick a handful at random and post here, whatever's easiest. Thanks! |
@zemccartney sweet, thanks! Just pick some lines or a file and post them here :) |
woo! cool, thanks! I'll take a shot at |
Hey, I'll do the |
I'll try grabbing |
I've got a PR here for |
Just want to say this has been going great— thanks for all the help everyone. We have fewer than 100 lines left and are at over 98% coverage 👍 👍 |
I'll see if I can grab some time today/tomorrow to cover |
I'll make the |
I'm working on lib/template.js |
Shouldn't a PR be started with what you already have so that reviews can come in early ? |
Here is the PR for template coverage. This also improved ref and some other areas, current coverage with PR:
|
I'll work on |
We're now over 99%. I am taking lib/base.js, lib/compile.js, and lib/ref.js. Now all lines are accounted for, but if you picked-up some lines and find that you don't have capacity to complete them, of course no problem— just let us know. |
A few more PRs have landed and we're getting very close: just 16 lines left to cover. Some light pings just to make sure nothing is getting lost: @Nargonath are you still working through There's no pressure here! Just looking for a. "I am working on it and would like to see it through," b. "I am working on it but I am currently stuck," or c. "I don't have time to work on it or would rather not work on it anymore" and we can go from there :) You can also reach out to me about this in the hapi hour Slack if you'd like. |
I'm still working on lib/modify.js and I'd like to see it through but I'll comment the issue in case I get nowhere with the tests. |
Hello @devinivy , My option is currently this one: b. "I am working on it but I am currently stuck,". I will reach you on slack for some questions |
As described in hapijs/joi#2411, the hapi ecosystem will no longer depend directly on joi (although it will continue to support joi schemas in route validations). In order to satisfy our internal validation needs we still need a validation library, though! Eran has culled the joi codebase to remove features that we have no need to maintain for our internal purposes, and that is what you find here.
The test suite is fully passing, but coverage for this module began at ~97% with ~150 uncovered lines of code. We would like to bring it up to 100% so that it is in line with our typical standards. This is a tracking issue for anyone interested in contributing to this module's coverage. We could use the help!
I will be posting updates here to the module's coverage. If you want to cover some specific lines, or the lines in a particular file, just post here so we can organize around each other. Make any PRs to the branch named
initial-coverage
, and please prefer to add tests over adjusting the codebase.Coverage report
The text was updated successfully, but these errors were encountered: