-
- Add unused group name mutation:
/(?<foo>bar)/
->/(?<_foo>bar)/
.
- Add unused group name mutation:
-
- Add
mutant environment test list
subcommand. Useful to verify which tests mutant detects as candiates for test selection.
- Add
-
- Allow constants to be passed to minitst integrations
cover
declaration.cover SomeClass
is equivalent tocover 'SomeClass*'
.
- Allow constants to be passed to minitst integrations
-
- Add mutation from named capturing group to non-capturing group:
/(?<foo>bar)/
->/(?:bar)
.
- Add mutation from named capturing group to non-capturing group:
-
- Fix configured match expression loading to properly display error messages on invalid expression syntax.
-
- Add mutations from predicate-like methods (methods ending in ?) to
true
/false
a.b?
->false
a.b?
->true
- Add mutations from predicate-like methods (methods ending in ?) to
-
Add additional
*
->+
regexp quantifier mutations:/a*?/
->/a+?/
/a*+/
->/a++/
-
Add
a === b
->a.is_a?(b)
mutation -
- Add mutation from
=~
->#match?
- Add mutation from
#match
->#match?
- Add mutation from
-
Allow subject matcher configuration in the configuration file.
-
Reintroduce regexp mutation support
-
- Remove unuseful kwarg mutations.
- Remove argument promotion on kwarg mutations. These yield AST that when unparsed have invalid syntax.
-
- Add ruby-3.0 syntax and mutation support.
-
- Add mutation from
#any?
to#all?
and vice versa.
- Add mutation from
-
- Add GIL scaling and memory optimization via intermediary sub-processes. This architecture improves mutant performance slightly on the average (incremental) case but has a significant increase for longer coverage runs. Mostly this process model reduces the friction from forking from an ever growing main process. Also it reduces the chance of GC amplification, while enabling future optimizations in the area.
- Substantially improve performance on coverage attempts that involve many selected tests.
- Reduce (but not eliminate) performance degeneration on larger subject sets.
- This release for many average cases should get 2x the performance.
-
- Change to strict integration version bounds.
- Mutant is evolving the integration interface, and will keep doing so.
- Before this change integrations would declare they can work with many future mutant releases, but this is actually not the case.
-
- Add
defined?(@a)
->instance_variable_defined?(:@a)
mutation. - Remove invalid mutations from
defined?
->true
. - Remove mutations of
defined?()
arguments, thedefined?
method is not fully evaluating the argument but instead partially evaluates the AST, or inspects the AST. Delegating to the value semantics based "generic" mutation engine does create too many hard to cover mutations.
- Add
-
- Add support for unicode ruby method names.
- Fixes long standing bug on expression parsing of method operators. This means that mutant is now selecting a more narrow / correct set of tests for operators. As a side effect measure coverage may drop. But for a good reason as mutant before would select way more tests even if a specific test for such an operator was available. Enforcing that this specific test actually covers the subject.
-
- Fix matching non existing constants.
-
- Improve minitest integration to also render minitest failures in reports. This is useful when reacting to noop errors.
-
- Add subcommand
environment subject list
. It allows to list all matched subjects.
- Add subcommand
-
Fix low frequency stuck isolation reads.
-
Minor performance improvements on small runs.
-
Add support for incremental mutation testing when the working directory is not the git repository root.
-
Change process abort coverage criteria to also cover nonzero killfork exits.
-
Fix to properly propagate coverage criteria from config file.
-
Fix absent jobs on CLI to not shadow file configuration.
-
Performance improvements on caching more work in the master process.
-
Add
environment show
subcommand to display environment without coverage run. -
Fix unspecified integration to have dedicated error message.
- Fix CLI overwrites of config file. #1127.
- Add support for specifying multiple subject expressions with the RSpec integration. #1125
-
Add support for process abort as coverage condition.
This allows mutation to be covered on abnormal process aborts, such as segfaults.
-
Add support for external mutation timeouts.
New config file settings.
mutation_timeout
andcoverage_criteria
to control timeouts and coverage conditions. -
Improve CLI reporting to be less noisy:
-
Fix crash on static send mutation. #1108
-
Add more verbose configuration documentation.
- Change to always display help on invalid CLI. #1093
- Fix config inheritance between environment, config file and CLI options.
- Fix mutant-minitest and mutant rspec to not rely on git anymore in gemspec. #1087
- Fix mutant-minitest to ship minitest/coverge file. #1086
- Fix type error on subscription show subcommand whith active commercial license. #1074
- Add support for multiple cover expressions in minitest integration #1076
- Add 2.7 syntax support. #1062.
- Add symbol-to-proc block mutations (
map(&:to_s)
->map(&to_str)
) #1048 - Add block-pass mutations (
foo(&method(:bar))
->foo(&public_method(:bar))
) #1047 - Add new mutation of
Array(foo)
->[foo]
#1043 - Add new mutation to mutate dynamic sends to static sends ({
foo.__send__(:bar)
,foo.send(:bar)
,foo.public_send(:bar)
} ->foo.bar
) #1040 and #1049 - Change packaging to not rely on git anymore. #1053
- Remove mutation to equivalent semantics on endless ranges #1036.
- Remove bounds to allow
diff-lcs 1.4.x
#1032. - Fix crash on endless ranges #1026.
- Fix memoized subjects to preserve freezer option #973.
- Add support for mutating methods inside eigenclasses
class <<
. #1009
- Remove
<
-><=
and>
->>=
mutations as non canonical. #1020 - Remove
true
->nil
andfalse
->nil
mutations as non canonical. #1018
- Change to generic catch all node mutator. This allows better cross parser version compatibility.
- Bump parser dependency to 2.7.1, note this still does not support Ruby 2.7 syntax. But it supports running bundling with that parser version.
- Nail diff-lcs to 1.3 till output difference for 1.4 can be addressed.
- Dependencies upgrade, should not change user facing semantics.
- Bump license nudge to 40s
- Change to 2.7 parser series. This does not drop support for < 2.7 but enables to in the future add full Ruby 2.7 support.
- Bump unparser dependency
- Change to soft dependency on mutant-license. Rationale its fine to bundle mutant if not used. This can easily happen on transitive dependencies.
- Upgrade to parser ~> 2.6.5
- Packaging bugfix.
- New license.
- Fix mutations to void value expressions to not be reported as integration error.
- Remove regexp body mutations
- Remove restarg mutations
- Remove support for rspec-3.{4,5,6}
- Change to {I,M}Var based concurrency
- Remove actors
- Change to always insert mutations with frozen string literals
- Fix various invalid AST or source mutations
- Handle regexp
regexp_parser
cannot parse but MRI accepts gracefully
- Improved isolation error reporting
- Errors between isolation and tests do not kill mutations anymore.
- Remove hard ruby version requirement. 2.5 is still the only officially supported version.
- Change to modern ast format via unparser-0.4.1.
- Replace internal timers with monotonic ones.
Find older changelogs in the project history