Shroud

An open source Danger plugin for enforcing code coverage via a Kover or 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 it works.

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 to use it.

Check out the project on Github for details on setup and configuration.

Built by Livefront.

Livefront is a digital product consultancy. We're trusted by some of the world's most admired companies to drive strategy, design, and engineering for their core digital experiences. They partner with us to move faster, think bigger, and design products people love.

Learn more