SBT Clover Plugin
Scala Java
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
project 0.0.1 Oct 30, 2015
src 0.0.1 Oct 30, 2015
.gitignore Only works for non-clean builds ... Oct 30, 2015
LICENSE 0.0.1 Oct 30, 2015
README.md A small typo Mar 19, 2016
build.sbt 0.0.1 Oct 30, 2015

README.md

SBT Clover Plugin

SBT plugin to integrate with Clover for Java code coverage

How to Use

In project/plugins.sbt

resolvers += Resolver.url("Plugins",
  url("http://dl.bintray.com/shanbin/sbt-plugins/"))(Resolver.ivyStylePatterns)

addSbtPlugin("com.github.shanbin" %% "sbt-clover" % "0.0.1")

A single task to run tests with instrumented sources and generate XML and HTML reports

sbt clover:clover

Scope

All settings and tasks are under clover scope

Settings

Setting Default Value
cloverLicensePath baseDirectory / "clover.license"
cloverVersion 4.0.6

e.g.

import clover.CloverSbtPlugin

cloverLicensePath in CloverSbtPlugin.cloverConfig := "/etc/clover/license.txt"

Tasks

  • clover:setup
  • clover:test
  • clover:clover