7

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

roundcrisis
  • 17,276
  • 14
  • 60
  • 92

1 Answers1

0

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

coverage results

Dvir Yitzchaki
  • 487
  • 4
  • 13
  • 1
    It's not `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 https://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. – Dmitrii Oct 08 '20 at 16:42