Cannot exclude method in 1.0.0-rc3 #1720
Replies: 3 comments 1 reply
-
We have moved this option to the config-file only. The config file option is called |
Beta Was this translation helpful? Give feedback.
-
I'd like to exclude methods like: The following configuration works on 0.22.11, but doesn't work on 1.0.0-rc3 and I don't see on the console: "Reason: Removed by method filter".
I run 1.0.0-rc3 as a global tool, but 0.22.11 as a local tool. It isn't probably the reason. |
Beta Was this translation helpful? Give feedback.
-
It looks like we missed this one in the options conversion! Thank you for reporting. |
Beta Was this translation helpful? Give feedback.
-
Did you remove -im option?
It doesn't presented when run: dotnet-stryker -h
And when i run:
dotnet-stryker -im "{'*LogInformation'}"
Specify --help for a list of available options and commands.
Unhandled exception. McMaster.Extensions.CommandLineUtils.UnrecognizedCommandParsingException: Unrecognized option '-im'
at McMaster.Extensions.CommandLineUtils.CommandLineProcessor.ProcessUnexpectedArg(String argTypeName, String argValue)
at McMaster.Extensions.CommandLineUtils.CommandLineProcessor.ProcessNext()
at McMaster.Extensions.CommandLineUtils.CommandLineProcessor.Process()
at McMaster.Extensions.CommandLineUtils.CommandLineApplication.Parse(String[] args)
at McMaster.Extensions.CommandLineUtils.CommandLineApplication.ExecuteAsync(String[] args, CancellationToken cancellationToken)
at McMaster.Extensions.CommandLineUtils.CommandLineApplication.Execute(String[] args)
at Stryker.CLI.StrykerCli.Run(String[] args) in C:\git\stryker\stryker-net\src\Stryker.CLI\Stryker.CLI\StrykerCLI.cs:line 66
at Stryker.CLI.Program.Main(String[] args) in C:\git\stryker\stryker-net\src\Stryker.CLI\Stryker.CLI\Program.cs:line 15
Beta Was this translation helpful? Give feedback.
All reactions