Skip to content

Coverage data is different between scala 2 and scala 3 #28

Closed
@rolandtritsch

Description

@rolandtritsch

How to reproduce?

  • run sbt +clean +coverage +test +coverageReport
  • look at target/scala-2.13/scoverage-report/index.html and target/scala-3.2.2-RC2/scoverage-report/index.html
  • they are different (e.g. branch coverage)

image

  • You can also diff target/scala-2.13/scoverage-data/scoverage.coverage target/scala-3.2.2-RC2/scoverage-data/scoverage.coverage

Questions to ask?

Note: It is expected that the "format/content" of the scala 3 scoverage.coverage file is somewhat different.

  • Why are they (so) different?
  • Which one is (more) correct?

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