Skip to content

Commit

Permalink
Make tests more comprehensive.
Browse files Browse the repository at this point in the history
  • Loading branch information
rolandtritsch committed Aug 21, 2024
1 parent fca2698 commit a059af3
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/sbt-test/scoverage/coverage-excluded-files/test
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@
> test
> coverageReport
# There should be no directory for the excluded files
$ exists target/scala-2.13/scoverage-report/GoodCoverage.scala.html
-$ exists target/scala-2.13/scoverage-report/two
-$ exists target/scala-2.13/scoverage-report/three
2 changes: 2 additions & 0 deletions src/sbt-test/scoverage/coverage-excluded-packages/test
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@
> test
> coverageReport
# There should be no directory for the excluded package
$ exists target/scala-2.13/scoverage-report/GoodCoverage.scala.html
-$ exists target/scala-2.13/scoverage-report/two
-$ exists target/scala-2.13/scoverage-report/three
4 changes: 3 additions & 1 deletion src/sbt-test/scoverage/scala3-coverage-excluded-files/test
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@
> test
> coverageReport
# There should be no directory for the excluded files
-$ exists target/scala-3.4.2/scoverage-report/two
$ exists target/scala-3.4.2/scoverage-report/GoodCoverage.scala.html
-$ exists target/scala-3.4.2/scoverage-report/two
-$ exists target/scala-3.4.2/scoverage-report/three
2 changes: 2 additions & 0 deletions src/sbt-test/scoverage/scala3-coverage-excluded-packages/test
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@
> test
> coverageReport
# There should be no directory for the excluded package
$ exists target/scala-3.4.2/scoverage-report/GoodCoverage.scala.html
-$ exists target/scala-3.4.2/scoverage-report/two
-$ exists target/scala-3.4.2/scoverage-report/three

0 comments on commit a059af3

Please sign in to comment.