I am trying to integrate JaCoCo into a Play Scala project, I want it to run code coverage for all submodules in one report.
When I add "jacoco.settings" to the root project, jacoco does not recognize tests for auxiliary modules. To do this, I configured jacoco for each of the modules, and then launched coverage for each of them (see the comment code). The result is one report for each module.
I would like to create one report for the whole project, any idea what can I do?
object PlutusBuild extends Build {
lazy val root = Project(id = "Plutus", base = file("."))
.aggregate(common, importer, crawler, ref_webapp)
.settings(graphSettings: _*)
.settings(jacoco.settings: _*)
lazy val common = Project(id = "Plutus-Common", base =
file("common"))
lazy val importer = Project(id = "Plutus-Importer", base =
file("importer")).dependsOn(common)
lazy val crawler = Project(id = "Plutus-Crawler", base =
file("crawler")).dependsOn(common).
configs(Atmos).settings(atmosSettings:_*)
...
Thanks...
source
share