make-files/makefiles

Integrate "courtney" with pkg-go.

Closed this issue · 3 comments

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

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.

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.