Back

ShroudA danger plugin for enforcing code coverage via a Jacoco coverage report.

Why we built it.

At Livefront, we use a series of automated checks to enforce high standards of code quality and, when possible, accrue zero technical debt. Enforcing test coverage is one of many steps in that process. Our friends on the iOS side already have Slather to report coverage on PRs and enforce project coverage thresholds. Using that project as inspiration, we set out to build an Android equivalent. We call it Shroud.

How does it work?

At a high level, Shroud aggregates info from your PR and your coverage report and outputs that data in a PR comment. Shroud will cross reference the coverage report with the files that are modified in your PR, so you can get a quick window into how well the modified files of a PR are covered. In addition, you can specify coverage thresholds that will fail a build if the build does not meet the coverage requirement.

How do I use it?

Check out the project on GitHub for details on setup and configuration!

We are Livefront.

Our team creates beautiful mobile apps for people in motion. We work every day with Fortune 500 companies and startups alike to build custom software for phones, tablets, mobile payment wallets, and wearables like watches and glasses. We care deeply about quality, and we love what we do.