Fettle is an experimental mutation testing tool for C#.
I recommend using Stryker for mutation testing C# code.
Fettle can mutate C# code that runs on the .NET Framework (Mono or .NET Core are not supported).
If your tests use NUnit 3, Fettle will use them by default (version 3.10 or higher recommended).
Or if you use another framework, or need to run them in a special way, then you can use a custom test runner command.
Fettle comes with some optimisations to make mutation testing faster:
- It will perform test impact analysis on your project to try and find the subset of tests to run for a given piece of source-code.
- It can be configured to only mutate your local changes rather than your entire code-base.
There's also a list of supported mutations.
Fettle relies on some awesome .NET projects which include:
Note that we have a code of conduct.
This project is licensed under the MIT License - see the LICENSE file for details