Skip to content

Releases: infection/infection

Avoid parser bugs for very large negative numbers

19 Sep 11:06
Compare
Choose a tag to compare

Fixed:

  • Avoid parser bugs for very large negative numbers #1580

Count syntax errors caused by a mutatan as a failure of a mutant

12 Sep 08:54
854bc7f
Compare
Choose a tag to compare

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

05 Sep 19:40
Compare
Choose a tag to compare

0.25.0 (2021-09-06)

Full Changelog

Added:

  • Detect syntax errors during mutation analysis and differentiate them from all errors #1555 #262
  • Add $schema to generated infection.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, set executionOrder="default" to prevent random ordering of the tests since we need them to be sorted (fastest - first) #1547

Major performance improvent, more clever `badge` logger, new Mutators

26 Jul 22:15
Compare
Choose a tag to compare

0.24.0 (2021-07-27)

Full Changelog

Added:

  • [Mutator] Add Mutator SpreadAssignment #1529
  • [Mutator] Add Mutator SpreadRemoval #1529

Changed:

  • [Performance] Improve Infection performance executed against slow test suites #1539
  • Allow using MSI Badge for multiple branches #1538
  • Add Mutator information to GitHub annotation logger #1540
  • [BC BREAK] Rename Spread mutator to SpreadOneItem #1529

Add support for Pest test framework

13 May 16:13
Compare
Choose a tag to compare

0.23.0 (2021-05-13)

Full Changelog

Added:

  • Add support for Pest test framework #1516

Fixed:

  • Multiplication mutator should not mutate when return value is integer #1515

Changed:

  • [BC BREAK] Remove CodeCoverageAnnotationIgnorer #1517
  • Upgrade xdebug-handler to v2 #1510

xdebug-handler 2

26 Apr 20:59
Compare
Choose a tag to compare

Fixed:

  • For recent Xdebug coverage collection needs XDEBUG_MODE=coverage or xdebug.mode=coverage #1473

Changed:

  • Upgrade xdebug-handler to v2 and handle that coverage option is set #1510

Add `INFECTION` and `TEST_TOKEN` environment variables for each Mutant process

24 Apr 18:34
Compare
Choose a tag to compare

Added:

  • Add INFECTION and TEST_TOKEN environment variables for each Mutant process #1504

Fixed:

  • composer install --no-scripts installs 0.13.4 instead of 0.15.0 #876
  • Invalid mutator config Bug #1479
  • Error: Expected a value other than null #1480
  • git-diff-filter option on MacOS doesn't work #1492
  • TypeError: Argument 1 passed to PhpParser\Node\Scalar\LNumber::__construct() must be of the type int, float given #1484
  • Do not increment max integer value #1486
  • Do not decrement min integer value #1488
  • Fix file not found exception for Codeception Cests

Fix file not found exception for Codeception Cests

31 Mar 11:45
Compare
Choose a tag to compare

Fixed:

  • Fix file not found exception for Codeception Cests #1503

0.21.4: Make unique only global settings (arrays)

03 Mar 14:27
Compare
Choose a tag to compare

Fixed:

  • Invalid mutator config with MBString mutator #1479

Fix "Error: Expected a value other than null"

01 Mar 19:55
31e13ed
Compare
Choose a tag to compare

Fixed:

  • ProxyTrace should check for tests locations #1494