Describe the bug
The ignore-methods configuration feature is not effectively excluding specified mutants within nested method calls or expressions. Despite specifying certain methods to be ignored, mutants within nested contexts are still being generated, leading to unexpected mutation testing results.
Expected behavior
Mutants within nested method calls or expressions, where the outer method is specified in the ignore-methods configuration, should be ignored.
Expected behavior for provided example:
logger.LogInformation("some text"); //all mutants ignored
logger.LogInformation(GetSomeText(true)); //all mutants should be ignored
logger.LogInformation(logSensitiveData ? sensitive : baseRequest); //all mutants should be ignored
Desktop (please complete the following information):
Describe the bug The ignore-methods configuration feature is not effectively excluding specified mutants within nested method calls or expressions. Despite specifying certain methods to be ignored, mutants within nested contexts are still being generated, leading to unexpected mutation testing results.
Example:
Expected behavior Mutants within nested method calls or expressions, where the outer method is specified in the
ignore-methods
configuration, should be ignored. Expected behavior for provided example:Desktop (please complete the following information):