Skip to content

Code generated by estatico newtype should be excluded #415

Open
@gzoom13

Description

@gzoom13

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).

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