Skip to content

Commit a059af3

Browse files
committed
Make tests more comprehensive.
1 parent fca2698 commit a059af3

File tree

4 files changed

+9
-1
lines changed
  • src/sbt-test/scoverage
    • coverage-excluded-files
    • coverage-excluded-packages
    • scala3-coverage-excluded-files
    • scala3-coverage-excluded-packages

4 files changed

+9
-1
lines changed

src/sbt-test/scoverage/coverage-excluded-files/test

+2
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,6 @@
44
> test
55
> coverageReport
66
# There should be no directory for the excluded files
7+
$ exists target/scala-2.13/scoverage-report/GoodCoverage.scala.html
78
-$ exists target/scala-2.13/scoverage-report/two
9+
-$ exists target/scala-2.13/scoverage-report/three

src/sbt-test/scoverage/coverage-excluded-packages/test

+2
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,6 @@
44
> test
55
> coverageReport
66
# There should be no directory for the excluded package
7+
$ exists target/scala-2.13/scoverage-report/GoodCoverage.scala.html
78
-$ exists target/scala-2.13/scoverage-report/two
9+
-$ exists target/scala-2.13/scoverage-report/three

src/sbt-test/scoverage/scala3-coverage-excluded-files/test

+3-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,6 @@
44
> test
55
> coverageReport
66
# There should be no directory for the excluded files
7-
-$ exists target/scala-3.4.2/scoverage-report/two
7+
$ exists target/scala-3.4.2/scoverage-report/GoodCoverage.scala.html
8+
-$ exists target/scala-3.4.2/scoverage-report/two
9+
-$ exists target/scala-3.4.2/scoverage-report/three

src/sbt-test/scoverage/scala3-coverage-excluded-packages/test

+2
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,6 @@
44
> test
55
> coverageReport
66
# There should be no directory for the excluded package
7+
$ exists target/scala-3.4.2/scoverage-report/GoodCoverage.scala.html
78
-$ exists target/scala-3.4.2/scoverage-report/two
9+
-$ exists target/scala-3.4.2/scoverage-report/three

0 commit comments

Comments
 (0)