Skip to content

[FEATURE] ✨ Allow to specify stryker config file per project when running IMutationTest.MutationTests target #90

@candoumbe

Description

@candoumbe

Is your feature request related to a problem? Please describe.
Stryker supports both configuring mutation tests run with parameters and by specifying a config file.
Currently, the default implementation of IMutationTest.MutationTests sets a bunch of parameters when calling the dotnet-stryker tool and some of them can be defined in a config file, making them easier to customize when using the library in a repo.

Describe the solution you'd like
A new ConfigFile property should be added to the MutationTest class : this property would allow to specify per project which config file to use. That property should not be mandatory.
Given the current conception of the target, setting a parameter in the config file should take precedence over any parameter that would otherwise be set as a CLI option.

Describe alternatives you've considered
N/A

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions