Skip to content

reportScoverage - is there a way to change the name of gradle test task? #89

Open
@Coobik

Description

@Coobik

Hi!
There is a project containing both legacy (spec2) tests and new scalatest tests.
gradle-scalatest plugin with append mode made it possible to run legacy tests with "gradle test" and the new scalatest tests with "gradle scalatest".
looks like gradle-scoverage plugin runs "test" task to measure coverage.

is it possible to change gradle test task name to be run by gradle-scoverage task?

or is it possible to create multiple scoverage tasks like this:
reportScoverage -> test
reportScalatestScoverage -> scalatest

thanks!!

there is some discussion here
#77
but looks like no clear solution is available

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