Add code coverage reporting

InstructorKent C. Dodds

Share this video with your friends

Send Tweet

Now that we're keeping track of our coverage, let's upload our reports to a third party service so we can track our stats over time. In this lesson we'll show how easy it is to upload our stats to codecov.io.

David Poindexter
~ 9 years ago

Something that's been kinda bothering me... If you create a GitHub issue, and then use "closes #ISSUE_NUMBER", it's closed before the build is even done on Travis CI.

Thoughts?

Kent C. Doddsinstructor
~ 9 years ago

That bothers me a bit too. Jira smart commits have similar issues. I generally just let it be. But if you want, you might simply put "#ISSUE_NUMBER" so it's linked, but not closed.

However, if your library has ghooks installed and you're basically running what Travis is running, you can feel fairly confident that what you're pushing up is going to work out. Just some thoughts :-)

kvrmd
~ 6 years ago

For others watching now, I noticed codecov.io (https://github.com/cainus/codecov.io) is deprecated in favor of codecov-node (https://github.com/codecov/codecov-node).