Skip to content
This repository has been archived by the owner on May 6, 2022. It is now read-only.

Add support for code coverage #63

Merged
merged 1 commit into from
Nov 30, 2016
Merged

Add support for code coverage #63

merged 1 commit into from
Nov 30, 2016

Conversation

martinmaly
Copy link
Contributor

make coverage will run tests with code coverage enabled,
and will generate a coverage.html report (when run from the root
directory), or $(BIN)-coverage.html when run inside an individual
package.

`make coverage` will run tests with code coverage enabled,
and will generate a coverage.html report (when run from the root
directory), or $(BIN)-coverage.html when run inside an individual
package.
@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Nov 30, 2016
@duglin
Copy link
Contributor

duglin commented Nov 30, 2016

LGTM

@arschles
Copy link
Contributor

LGTM

Do we have a mechanism that can store and report coverage in PRs or on master? We've used codecov for this purpose before. This is only a nice-to-have for me, so not blocking for this PR

@pmorie
Copy link
Contributor

pmorie commented Nov 30, 2016

LGTM

@martinmaly
Copy link
Contributor Author

@arschles I am not sure re: storing the coverage data on the PR. I am don't have sufficient GitHub and Travis expertise but I assume it should be somehow possible. I agree that it is nice-to-have (very nice to have because engineers are more ready to act on coverage numbers when they are made easily accessible) and hopefully someone may know just where to make tweaks to connect the dots in a future PR.

@arschles
Copy link
Contributor

@martinmaly agree. I've captured the code coverage capture-and-report work in #72

@arschles
Copy link
Contributor

arschles commented Nov 30, 2016

Although it looks like this was opened only 17 hours ago (short of the required full 1 business day), I'm deeming this ok to merge since it has 3 eligible LGTMs and doesn't impact any code or documentation

@arschles arschles merged commit 127fb5d into kubernetes-retired:master Nov 30, 2016
@martinmaly martinmaly deleted the coverage branch November 30, 2016 17:46
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants