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 code coverage using NYC and integrate with codecov #213
Conversation
Current coverage is 99.65% (diff: 100%)
|
@nene @abouthiroppi Guys the code coverage report is available here: https://codecov.io/gh/lebab/lebab. If you add codecov app to list of authrised applications for this repo, we will start getting comments for diff of code coverage as well. |
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.
Cool. Rubber-stamp LGTM.
This looks great. I'll take another look at this later today. I think I'll need to fiddle a bit with dependencies between NPM scripts. Like the It's also unclear to me that |
Cool. Add your review comments and I will fix them based on your suggestions. I generally go with |
My perspective is that I've never heard/used this codecov site before. So
to me codecov sounds just like another abbreviation of code coverage, which
looks confusingly similar to the 'cover' script.
|
@nene Based on your comments, I think the below would make sense even for someone who hasn't used
|
Tweaked it quite a bit. Performed some renames and reorganization of package.json scripts. All merged now, with coverage reports nicely running :) Thanks once more! |
Thanks a lot for taking care of the naming suggestions |
npm run cover
: To check coverage locallynpm run system-test
: To run system testnpm run check-coverage
: To check and ensure that coverage is above 80%npm run report-coverage
: To create.lcov
based code coverage reportnpm run codecov
: To upload code coverage report to codecov.travis.yml
to add the scripts to be executed at right build life-cycle events