Skip to content

Scoverage test for Scala compiler failed #116

@XinyuHua

Description

@XinyuHua

I am trying to use scoverage to test scala compiler, which I built from source by sbt.

At first when I didn't add "addSbtPlugin(...)" to my /project/plugins.sbt it worked all fine, both sbt compile and sbt test. But when I added that and run "sbt clean coverage test", it shows error:

error java.lang.ClassCastException: xsbt.API$ApiPhase cannot be cast to scala.tools.nsc.Global$GlobalPhase

I am using sbt version 0.13.7

Thanks in advance for any comments!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions