I was wondering, is it possible to run scoverage from intellij (not from the terminal ) and even better, see scoverage reports like the native coverage from intellij?
Thanks
I was wondering, is it possible to run scoverage from intellij (not from the terminal ) and even better, see scoverage reports like the native coverage from intellij?
Thanks
I've managed to collect coverage by adding scalac-scoverage-plugin
as a test dependency:
libraryDependencies += "org.scoverage" %% "scalac-scoverage-plugin" % "1.4.0" % Test
scoverage
that is used here. Built-in IntelliJ coverage is used (the one which is used for Java). You can verify that by running example from github.com/scoverage/scalac-scoverage-plugin#statement-coverage and see that 100% coverage is shown even though only 33% is covered. Added library dependency doesn't affect anything actually. –
Alive © 2022 - 2024 — McMap. All rights reserved.