Skip to content

scoverage/gradle-scoverage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gradle-scct

A plugin to enable the use of SCCT in a gradle Scala project.

Getting started

buildscript {
    repositories {
        maven { url 'http://mtkopone.github.com/scct/maven-repo' }
        maven { url 'https://github.com/maiflai/mvn-repo/raw/master/snapshots' }
    }
    dependencies {
        classpath 'com.github.maiflai:gradle-scct:0.1-SNAPSHOT'
    }
}

apply plugin: 'scct'

dependencies {
    scct 'reaktor:scct_2.10:0.2-SNAPSHOT'
    compile 'org.scala-lang:scala-library:2.10.1'
}

This creates an additional task testCoverage which will run tests against instrumented code

  • instrumenting main scala code
  • running JUnit tests against instrumented scala code
  • failing the build on lack of coverage

About

A plugin to enable the use of Scoverage in a gradle Scala project

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 21