Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
rolandtritsch opened this issue Jan 5, 2023 · 2 comments
Closed

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

rolandtritsch opened this issue Jan 5, 2023 · 2 comments

Comments

@rolandtritsch
Copy link
Member

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?
@rolandtritsch
Copy link
Member Author

Seems this was fixed here - scala/scala3#18420

Waiting for 3.3.2 (or 3.4.0).

@rolandtritsch
Copy link
Member Author

VERY good news. Just tested this with 3.3.2-RC1 and this is fixed now!!!

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant