Run scoverage from intellij
Asked Answered
D

1

8

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

Deflower answered 7/7, 2017 at 10:1 Comment(2)
Please vote for youtrack.jetbrains.com/issue/SCL-12223.Billyebilobate
Done! didn't know about thatDeflower
I
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

Isometrics answered 6/11, 2019 at 6:10 Comment(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 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.