Skip to content

Latest commit

 

History

History
63 lines (51 loc) · 2.58 KB

Introduction.md

File metadata and controls

63 lines (51 loc) · 2.58 KB

Introduction and Overview

scoverage features and repositories

A little bit of history

This was build for Scala 2. Initially it was mainly a compiler plugin that is annotating/instrumenting the Abstract Syntax Tree (AST).

When you execute the code by running the tests that instrumentation will then create the scoverage.coverage file. That file shows what branches of the code have been visited and covered.

scoverage then features a set of report writers to turn that file into various reports (html, xml, ...) for viewing or further processing.

scoverage also features integrations with all the leading build tools (sbt, gradle, maven, ...). There is also a jenkins plugin that is maintained by jenkins and there is support for scoverage in mill.

scoverage provides coverage for scala, scala-js and scala-native.

To support Scala 3 the compiler plugin was merged into dotty (starting with 3.2).

Resources