Skip to content

feat: Allow to execute infection against a test file #34

@theofidry

Description

@theofidry

When I write click on the file or a source file class, I get:

Image

It would be nice if we could have an option to run infection for this file here. This can be done with:

--filter=/path/to/CommandLineGit.php --map-source-class-to-test

Note that this may be subject to change in the future though, and maybe we'll also be eventually able to target a symbol (e.g. a method) instead of a file.

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