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

Code generated by estatico newtype should be excluded #415

Open
gzoom13 opened this issue Jul 11, 2021 · 1 comment
Open

Code generated by estatico newtype should be excluded #415

gzoom13 opened this issue Jul 11, 2021 · 1 comment

Comments

@gzoom13
Copy link

gzoom13 commented Jul 11, 2021

Issue can be reproduced in following repository: https://github.com/gzoom13/scoverage-newtype-issue

There is only one Scala file:

package object newtype {
    @newtype case class Word(s: String)
    case class Id(i: Int)
}

When running sbt clean coverage test coverageReport in coverage report there is no Id class, but there are Word and Word.Ops$newtype classes. They should not affect overall coverage too (as Id does).

@ckipp01
Copy link
Member

ckipp01 commented Nov 4, 2021

Thanks for the report @gzoom13 I'm going to transfer this over to the main repo as it would need to be looked at there.

@ckipp01 ckipp01 transferred this issue from scoverage/sbt-scoverage Nov 4, 2021
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

2 participants