Skip to content

feat: Run a specific test #33

@theofidry

Description

@theofidry

When I click on the item from the following menu:

Image

The command used is:

/path/to/php bin/infection run -n --no-progress --teamcity --configuration infection.json5

I think here the configuration should target this test. In general it is a flawed idea because the targetted source code may be covered by other tests, but it is still valid in if this test is the only test and I think it is still a reasonable use case.

In this scenario, the following option should be applied:

--test-framework-options="<path-to-test>"

There is the question of how to properly merge test framework options though if any is already specified.

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