Skip to content

Coverage not excluding packages or files after upgrading to scala 3 and play 3 #568

Closed
@rohanr-kmon

Description

@rohanr-kmon

Recently upgraded project to Scala 3.3.3 (was using scala 2 before), play 3.0.5 and sbt-scoverage 2.2.0. The below code to exclude route files was functional before but doesn't seem to be working anymore:

    coverageExcludedPackages := "<empty>;Reverse.*",
    coverageExcludedFiles := ".*Routes.*",

Coverage has dropped from 56% to 30% and i can't seem to exclude the router files with any regex combos. Are there any known bugs?

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