Skip to content

Gradle plugin run mutates a test classΒ #56

@igorwojda

Description

@igorwojda

I am still trying to understand what is the expected behavior of the PIT and how all of the pieces are connected.

In my kotlin-mutation-testing project I am experiencing strange behaviour:

When I run tests using the cmd ./gradlew pitest then Pit Test Coverage Report shows a single class being found (ApplicationService.kt)(ok)
image

However, when I run pitest using gradle-pitest-plugin (Pit Runner) the Pit Test Coverage Report contains two classes (ApplicationService.kt - ok and ApplicationServiceTest.kt - not ok)
image
image
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions