mutant
mutant copied to clipboard
Automated code reviews via mutation testing - semantic code coverage.
When using mutant on some code that uses kwargs, it came up with only one alive mutation: ``` diff -def initialize(name, includes:, **options) +def initialize(name__mutant__, includes:, **options) super end ```...
This might upset people outside the core mutant user group. But it'll expose cases where a literal is intend not to be mutated but not marked (via freeze) that way.
I was reading through the source code in an effort to better understand the classes of mutations and I got to wondering what the philosophical criteria was for choosing/implementing mutations....
I am trying to use this gem on a moderate sized rails application that is a conversion from a large PHP application. I am new to Rails and Ruby (one...
Mutating private method send into local variable reads. Mutant should know the local variable scope and only emit this mutation when the local variable is in scope.
Should only be emitted when lvar is actually in scope. Can be determined statically. Adjacent to #464
When running mutant in concurrent mode (multiple workers) it is sometimes useful to insulate the workers activities from each other in accessing resources. Examples: - Distinct in memory caches -...