Skip to content

Commit 341cdb2

Browse files
#34 - add code coverage support (#44)
fix redundancy and format
1 parent ab4d1b3 commit 341cdb2

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,5 @@ sbt jacoco
6060
```
6161
Code coverage will be generated on path:
6262
```
63-
{project-root}/target/scala-2.XY/jacoco/report/html
63+
{project-root}/target/scala-{scala_version}/jacoco/report/html
6464
```

build.sbt

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -60,15 +60,12 @@ Global / excludeLintKeys += ThisBuild / name // will be used in publish, todo #3
6060

6161
// JaCoCo code coverage
6262
Test / jacocoReportSettings := JacocoReportSettings(
63-
s"spark-data-standardization Jacoco Report - ${scalaVersion.value}",
64-
None,
65-
JacocoThresholds(),
66-
Seq(JacocoReportFormats.HTML, JacocoReportFormats.XML),
67-
"utf-8"
63+
title = s"spark-data-standardization Jacoco Report - ${scalaVersion.value}",
64+
formats = Seq(JacocoReportFormats.HTML, JacocoReportFormats.XML)
6865
)
6966

7067
// exclude example
71-
//Test / jacocoExcludes := Seq(
68+
Test / jacocoExcludes := Seq(
7269
// "za.co.absa.standardization.udf.UDFBuilder*", // class and related objects
7370
// "za.co.absa.standardization.udf.UDFNames" // class only
74-
//)
71+
)

0 commit comments

Comments
 (0)