/sbt-scoverage-samples

Sample project for Scoverage in SBT

Primary LanguageScalaApache License 2.0Apache-2.0

Coverage Status

scoverage samples

A sample program for demonstrating scoverage's code coverage. This sample is an akka based mock quote engine.

Note: This project deliberately doesn't have 100% coverage for demonstration purposes.

To create a report you need to run ...

sbt coverage +test +coverageReport

Note: This project builds agains Scala2 and Scala3.

Afterwards you can find the report in ...

./target/scala-2.13/scoverage-report/index.html
./target/scala-3.2.0/scoverage-report/index.html

You can also upload the report to coveralls by running ...

sbt coverage +test +coverageReport +coveralls

You can find the report on coveralls ...