isaacs / github

Just a place to track issues and feature requests that I have for github
2.21k stars 129 forks source link

Code Coverage in pull requests #960

Open atishay opened 7 years ago

atishay commented 7 years ago

It would be great if the pull requests could be annotated by the build server to have a color(say red) around lines that are added by the pull request but are not covered by unit tests.

Simple enough like the GitGutter in VSCode & Sublime

cirosantilli commented 7 years ago

How do you know if a line is covered by an unit test or not?

atishay commented 7 years ago

Istanbul gives line by line coverage for Javascript code.

oprogramador commented 5 years ago

@atishay

so when you use Istanbul, it should be already working

atishay commented 5 years ago

@oprogramador How do you upload the report to a Github pull request?

monperrus commented 4 years ago

In Java, that could be based on coveralls data.

oprogramador commented 3 years ago

@atishay

I forgot to answer your question.

here is an example of coverage uploading.