Implement inline code coverage remarks inside merge request changes tab file diffs
Problem to Solve
This would be really nice but hard to do cross-programming languages.
- Phabricator does it for PHP https://secure.phabricator.com/book/phabricator/article/arcanist_coverage/
- Atlassian does it for Java https://www.atlassian.com/software/clover/overview
- Code Climate does it in GitHub https://github.com/marketplace/code-climate
The relevant (free) tools are:
- SimpleCov: https://github.com/colszowka/simplecov
go test -cover: https://golang.org/cmd/cover/
This can be built on top of gitlab-ce#50299
The interface of Phabricator is very simple (one of four letters per line of the file), and other tools use the same method. We should make sure we have the simplest MVC specified so the wider community can contribute.