sbt plugin for scala code coverage tool
Scala
Switch branches/tags
Nothing to show
Pull request Compare This branch is 5 commits ahead, 5 commits behind dvc94ch:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
project
src/main/scala
.gitignore
README.md
build.sbt
sbt
sbt-launch.jar
sbt.bat

README.md

This is a sbt 0.11.3 plugin for scct the scala code coverage tool.

scct ist auto-installed depending on the scalaVersion of the project.

Commands:

  • coverage:compile
  • coverage:test
  • coverage:doc

coverage:test and coverage:doc do the same, so that if you run coverage:package-doc, you get your coverage report packaged.

docDirectory is reused for the coverage report directory

Compiling from Source

  1. retrive the sources from github:

    git clone git@github.com:jestan/sbt-scct.git

  2. publish plugin:

    cd sbt-scct sbt publish-local

  3. add plugin dependency in .sbt/project/plugins.sbt:

     addSbtPlugin("ch.craven" %% "scct-plugin" % "0.2.1-SNAPSHOT")
    
  4. to enable ScctPlugin in your project, add the following line to your build.sbt

    seq(ScctPlugin.scctSettings: _*)