Skip to content

Commit 5191a22

Browse files
#35 - Add code coverage support (#37)
- fix redundancy and format
1 parent 53344cf commit 5191a22

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ sbt jacoco
4646
```
4747
Code coverage will be generated on path:
4848
```
49-
{local-path}\spark-hats\target\scala-2.XY\jacoco\report\html
49+
{project-root}/spark-hats/target/scala-{scala_version}/jacoco/report/html
5050
```
5151

5252

build.sbt

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,9 @@ addCommandAlias("releaseNow", ";set releaseVersionBump := sbtrelease.Version.Bum
5151

5252
// JaCoCo code coverage
5353
Test / jacocoReportSettings := JacocoReportSettings(
54-
s"spark-hats Jacoco Report - ${scalaVersion.value}",
55-
None,
56-
JacocoThresholds(),
57-
Seq(JacocoReportFormats.HTML, JacocoReportFormats.XML),
58-
"utf-8")
54+
title = s"spark-hats Jacoco Report - ${scalaVersion.value}",
55+
formats = Seq(JacocoReportFormats.HTML, JacocoReportFormats.XML)
56+
)
5957

6058
// exclude example
6159
Test / jacocoExcludes := Seq(

0 commit comments

Comments
 (0)