A lot of surviving mutants in a project are due to changing constants, e.g. FOO = 1, where FOO itself is used in tests then also.
Killing those would need a test where the value itself is used, which does not make much sense, does it?
I think it would be good if those mutations could be skipped (e.g. by not mutating anything that matches [A-Z_]+ maybe?
It would be good if those could be deselected either by name of the mutation (which would need to be something like mutate-constant-X), or by specifying a pattern of identifiers not to mutate.
(it is not possible to deselect mutations currently, is it?)
A lot of surviving mutants in a project are due to changing constants, e.g.
FOO = 1, whereFOOitself is used in tests then also.Killing those would need a test where the value itself is used, which does not make much sense, does it?
I think it would be good if those mutations could be skipped (e.g. by not mutating anything that matches
[A-Z_]+maybe?It would be good if those could be deselected either by name of the mutation (which would need to be something like
mutate-constant-X), or by specifying a pattern of identifiers not to mutate.(it is not possible to deselect mutations currently, is it?)