Releases: infection/infection
Releases · infection/infection
Correctly handle non UTF-8 characters in diff and process output for HTML logger
Fixed:
- Error Malformed UTF-8 characters, possibly incorrectly encoded on send Stryke dashboard report with tests that contain invalid UTF-8 characters #1643
HTML logger, mutating only changed `lines`, show Ignored mutants
Added:
- Implement the Stryker HTML report #1625
- Add new
--git-diff-lines
option to generate Mutants only for the changed lines #1632 - Show ignored mutants on progress and summary #1612
Changed:
- Replace
badge
logger with more advancedstryker
logger #1629 - Mark Mutant as killed if Test Framework returns non-zero exit code #1621
- Set
failOnRisky
,failOnWarning
totrue
if parameters are not already set for mutants #1630 - Automatically set
XDEBUG_MODE=coverage
if needed #1518 - Add
dg/bypass-finals
to the conflict packages list #1605
Fix compatibility with Symfony 4, 5, 6
0.25.5
bypass-finals conflic, automatic `XDEBUG_MODE=coverage`, stop Infection execution on empty git diff filter
Ignore mutations by regex for uncovered mutants
Fixed:
ignoreSourceCodeByRegex
option is ignored between// @codeCoverageIgnoreStart
and// @codeCoverageIgnoreEnd
#1561
Avoid parser bugs for very large negative numbers
Fixed:
- Avoid parser bugs for very large negative numbers #1580
Count syntax errors caused by a mutatan as a failure of a mutant
Added:
- Count syntax errors caused by a mutatan as a failure of a mutant #1571
Performance improvements, running killing tests first; JSON schema for autocomplete of config file; detecting syntax errors
0.25.0 (2021-09-06)
Added:
- Detect syntax errors during mutation analysis and differentiate them from all errors #1555 #262
- Add
$schema
to generatedinfection.json
config file for autocomplete #1553 #1432
Changed:
- [Performance] Add files to coverage whitelist instead of the whole directories when
--filter
or--git-diff-filter
are used #1543 - [Performance] Speed up Infection runs by remembering which test killed a mutant #1519 #1549
- [internal] Allow Infection test suite to be executed in parallel using Paratest #1544
- Generate
infection.json
(without.dist
postfix) by default #1554 - Do not mark Mutant as Killed when no tests were executed #1546
Fixed:
- Display time and consumed memory even in case of insufficient MSI #1562
- Trim "\n" and "\t" characters when replacing relative paths with absolute ones during XML config creation #1550 #1542
- For Mutant's
phpunit.xml
, setexecutionOrder="default"
to prevent random ordering of the tests since we need them to be sorted (fastest - first) #1547