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).
Issue can be reproduced in following repository: https://github.com/gzoom13/scoverage-newtype-issue
There is only one Scala file:
When running
sbt clean coverage test coverageReportin coverage report there is noIdclass, but there areWordandWord.Ops$newtypeclasses. They should not affect overall coverage too (asIddoes).