When I click on the item from the following menu:
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.
When I click on the item from the following menu:
The command used is:
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:
There is the question of how to properly merge test framework options though if any is already specified.