TravisBuddy: Adds comments to failed pull requests, tells author what went wrong
github.com
github.com
Speaking about finding test failures quickly though, Jenkins and many others (except ALL the cloud/SaaS solutions?) actually parse test results via junit or similar to show you failures easily. I'm wondering why more SaaS don't do this?
See an example here (for our js-ipfs project): https://ci.ipfs.team/blue/organizations/jenkins/IPFS%2Fjs-ip...
It's so much easier to find test failures now and doesn't involve leaving a comment on the PR. It's simply two clicks to find this view from a PR (click the status message, click on "tests")
re: parsing test results
CircleCI has been doing this for years. Not only does CircleCI read and store JUnit formatted test metadata but provides a dashboard called "Insights" to show this data overtime.
A Doc on collecting this data can be found here: https://circleci.com/docs/2.0/collect-test-data/
re: Code coverage spam
Thank you! I've often felt this way but never seen anyone else mention this. For many code coverage tools, you can integrate them at the GitHub point, which then gives you that "code coverage spam" or you can integrate it with a CI provider. This can simply fail a build if coverage drops. You can always have a status badge that shows coverage % in the readme as well.
Yeah, Jenkins' tests view was one of the inspirations for TravisBuddy :)
IIRC at least Codecov (https://codecov.io) has logic to go in and update the existing comment rather than spamming with new ones. It's nice!
I think you could do something similar with code analysis tools, so they make review comments in the code where issues occur.
We had a similar problem where posting all of the results was just more noise than useful, this is at least a good starting point for handling build result feedback.