Skip to content

scoverage/sbt-scoverage-samples

Repository files navigation

coveralls-badge

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.3.2-RC1/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 ...