Skip to content

Releases: scoverage/sbt-scoverage

sbt-scoverage v1.8.1

19 May 20:39
9811fc3
Compare
Choose a tag to compare

What’s Changed

sbt-scoverage v1.8.0

10 May 18:51
cadb042
Compare
Choose a tag to compare

The v1.8.0 release is the first release in a while to bring some new
features!

One thing you may have noticed in the past was some confusion around how
coverageMinimum was calculated. For example you would often see something like
the following:

// build.sbt
coverageMinimum := 80

Then you'd run your tests, and the output would be as follows:

[info] Statement coverage.: 81.00%
[info] Branch coverage....: 70.00%

[info] Coverage reports completed
[info] All done. Coverage was [81.00%]

You may be wondering how does that equate to 81%? There has been quite a few
issues reported in the past that referred to the average not being correct.
However, the coverageMinimum is not an actual average, but simply the
statement coverage. So while branch coverage is shown, it has no effect on the
actual percentage used to fail your build or to show you your end coverage
percentage. This is part of the reason why we've decided to deprecate
coverageMinimum in favor of coverageMinimumStmtTotal to make this clearer.

Another reason is due to the newly added more fine-grained controls you have for
coverage totals thanks to the great work by @kitbellew. Now we are able to
have much finer control over the various totals with the introduction of some
new setting keys that can all be used to fail your build:

coverageMinimumStmtTotal := 90
coverageMinimumBranchTotal := 90
coverageMinimumStmtPerPackage := 90
coverageMinimumBranchPerPackage := 85
coverageMinimumStmtPerFile := 85
coverageMinimumBranchPerFile := 80

New Features

Bug Fixes

Housekeeping

Big thanks to everyone that made this release possible!

v1.7.3

04 May 13:07
0f12390
Compare
Choose a tag to compare

What’s Changed

  • Make sure buildInfo is in it's own package. (#342) @ckipp01

While we normally wouldn't publish a release just for this, but this could potentially cause issues with clashing classpaths if the BuildInfo wasn't namespaced.

v1.7.2

03 May 06:32
90cae8b
Compare
Choose a tag to compare

What’s Changed

sbt-scoverage v1.7.1

02 May 09:26
fe25bfb
Compare
Choose a tag to compare

Small release adding support for the latest scoverage 1.4.4

sbt-scoverage v1.7.0

28 Apr 12:22
Compare
Choose a tag to compare
  • coverageCleanSubprojectFiles key has been removed
  • No longer cross sbt published. sbt 1.2.8 is now required
  • Only support for Scala 2.12+ versions.

1.6.0

13 Jun 04:28
Compare
Choose a tag to compare
  • coverageAggregate aggregates raw coverage data, not coverage xml reports for modules.
    There is no requirement to generate individual coverage reports for modules (coverageReport)
    before generating aggregated report (coverageAggregate).

If only aggregated report is required, not executing coverageReport can reduce the build time significantly.

1.6.0-RC3

01 Jun 18:53
Compare
Choose a tag to compare
1.6.0-RC3 Pre-release
Pre-release
v1.6.0-RC3

Releasing 1.6.0-RC3

1.6.0-RC2

21 May 18:33
Compare
Choose a tag to compare
1.6.0-RC2 Pre-release
Pre-release

Scala 2.13.0-RC2 support

1.6.0-RC1

29 Apr 09:55
Compare
Choose a tag to compare
1.6.0-RC1 Pre-release
Pre-release

Scala 2.13.0-RC1 support