Skip to content

Add ability to disable specific Pitest mutations #271

Open

Description

@martinmladenov

It may be useful to disable certain mutations per assignment, e.g. per line number + mutation type. Pitest has support for this.
This would allow us to completely exclude equivalent mutants (rather than simply accounting for them in the grade calculation). It would also let us disable mutants causing infinite loops, which would speed up the mutation coverage calculation.

Activity

  1. mauricioaniche commented on May 16, 2024

    @mauricioaniche
    Contributor

    If not mistaken, there's already a method in the RunConfiguration to explicitly list the mutants to run.

  2. rstular commented on May 16, 2024

    @rstular

    The method in RunConfiguration can only disable a mutation for the entirety of an assignment, not a specific mutation occurring on a specific line number.

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

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions