Skip to content

Configuration File

Oli Wennell edited this page Feb 22, 2019 · 7 revisions

Your configuration file tells Fettle what source-code to mutate and which tests to run.
The file is in YAML format.

Options

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 Optionally use a filter to define which source files to mutate.
customTestRunnerCommand Optionally specify a custom command that Fettle will use to run tests.

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

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