Skip to content

Commit e0c11a5

Browse files
committed
Update README.md
Version update & list of available tasks. I had to look into the source code to find out how to generate HTML report. Thanks
1 parent e8207ed commit e0c11a5

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,14 @@ buildscript {
1515
maven { url "https://oss.sonatype.org/content/groups/public" }
1616
}
1717
dependencies {
18-
classpath 'org.scoverage:gradle-scoverage:0.4.1-SNAPSHOT'
18+
classpath 'org.scoverage:gradle-scoverage:0.6-SNAPSHOT'
1919
}
2020
}
2121
2222
apply plugin: org.scoverage.ScoveragePlugin
2323
2424
dependencies {
2525
scoverage 'org.scoverage:scalac-scoverage-plugin_2.11:0.99.5'
26-
compile 'org.scala-lang:scala-library:2.11.0'
2726
}
2827
```
2928

@@ -36,6 +35,12 @@ This creates an additional task testCoverage which will run tests against instru
3635
Then launch command :
3736
`gradle testScoverage` or `gradle checkScoverage`
3837

38+
Available tasks
39+
---------
40+
* testCoverage - Executes all tests and creates Scoverage XML report with information about code coverage
41+
* reportScoverage - Generates HTML report.
42+
* checkScoverage - See below.
43+
* compileScoverageScala - Instruments code without running tests.
3944

4045
CheckScoverage
4146
---------

0 commit comments

Comments
 (0)