Skip to content

Configuration File

Oli Wennell edited this page Oct 8, 2018 · 7 revisions
Option Description
solution (Required) The solution file that contains your C# code.
projectFilters (Required) The projects within the solution that contain C# code you want to be mutated. In other words: the implementation code and not the tests.
testAssemblies (Required) A list of the assemblies that contain your tests
sourceFileFilters (Optional) Use a filter to define which source files to mutate.

Note: all paths are relative to the configuration file's location.

Here's an example:

solution: .\src\MyProject\MyProject.sln

projectFilters:
    - MyProject.App
    - MyProject.Lib

testAssemblies:
    - src\MyProject\Tests\bin\Release\Tests.dll
    - src\MyProject\MoreTests\bin\Release\MoreTests.dll

sourceFileFilters:
    - Implementation\*.cs
Clone this wiki locally