Skip to content
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

Integrate "courtney" with pkg-go. #42

Closed
jmalloc opened this issue Apr 1, 2020 · 3 comments
Closed

Integrate "courtney" with pkg-go. #42

jmalloc opened this issue Apr 1, 2020 · 3 comments

Comments

@jmalloc
Copy link
Contributor

jmalloc commented Apr 1, 2020

This tool adds support for marking code blocks as uncoverable and excludes some blocks that are pretty hard/irrelevant to cover.

https://github.com/dave/courtney

@jmalloc
Copy link
Contributor Author

jmalloc commented Apr 1, 2020

At first glance, it looks like you have to run your test suite through courtney for this to work at all, not by running go test. This isn't necessarily a problem, but I would prefer if it could be done as a post-processing pass on the coverage reports, if possible.

@jmalloc
Copy link
Contributor Author

jmalloc commented Apr 1, 2020

/cc @danilvpetrov

@jmalloc
Copy link
Contributor Author

jmalloc commented Apr 1, 2020

Nevermind, it doesn't support modules (see dave/courtney#16).

This would be an interesting project to try to recreate, but I don't want to get sidetracked right now.

@jmalloc jmalloc closed this as completed Apr 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant