Search code examples
c#.netmutation-testingstrykerstryker-net

Ignore log entries in Stryker mutation test


I'm adding Stryker.net to my C# project. I see that it mutates on all log entries. Is there any way I can ignore these in the config?


Solution

  • Depends on how your logging looks like, but most probably you can play with the ignore-methods option.

    For example, dotnet stryker -im "['Logger.Log']" or even just dotnet stryker -im "['*Log']"