Skip to content

Code generated by estatico newtype should be excluded #415

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

Activity

ckipp01

ckipp01 commented on Nov 4, 2021

@ckipp01
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

        Participants

        @gzoom13@ckipp01

        Issue actions

          Code generated by estatico newtype should be excluded · Issue #415 · scoverage/scalac-scoverage-plugin