Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

sbt plugin for scala code coverage tool

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 project
Octocat-spinner-32 src
Octocat-spinner-32 .gitignore
Octocat-spinner-32 README.md
Octocat-spinner-32 build.sbt
README.md

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

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

WARNING the Jar in the downoads section only works with sbt 0.10.1

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:dvc94ch/sbt-scct.git

  2. set sbt version in sbt-scct/project/build.properties:

    sbt.version=0.10.1

  3. publish plugin:

    cd sbt-scct sbt publish-local

  4. add plugin dependency in .sbt/project/plugins/build.sbt:

    libraryDependencies += "ch.craven" %% "scct-plugin" % "0.2"

  5. to enable ScctPlugin in your project, add the following line to your build.sbt

    seq(ScctPlugin.scctSettings: _*)

Something went wrong with that request. Please try again.