Skip to content

Releases: infection/infection

Fix using custom path to TestFramework

01 May 19:54
Compare
Choose a tag to compare

Fix using custom path to TestFramework

Fix bug with PHPUnit custom config dir introduced in 0.8.0

01 Mar 06:25
0f8109c
Compare
Choose a tag to compare

0.8.1

Full Changelog

Fixed bugs:

  • Relative path to PHPUnit bootstrap file being incorrectly built. #199 (borNfreee)

Pass existing coverage, performance, new mutators

27 Feb 19:46
Compare
Choose a tag to compare

0.8.0

Full Changelog

BC Breaks:

  • Make paths in config file relative to config file #165 (BackEndTea)
  • Remove exclude option from config #155 (sidz)

Implemented enhancements:

  • Implement integer increment and decrement mutators #152 (localheinz)
  • Implement Throw mutator #164 (BackEndTea)
  • Use existing coverage reports #176 (borNfreee)
  • Do not require Xdebug/phpdbg when existing coverage is provided #183 (sidz)
  • Add an option to pass additional parameters to the PHP binary #185 (sidz)
  • Allow relative path for tmpDir config setting. #151 (borNfreee)
  • Allow coverage of function signatures of traits #191 (BackEndTea)

Performance:

  • Fix performance issue in SourceFilesFinder #186 (borNfreee)
  • Reuse created mutant files to avoid traversing and pretty printing #184 (borNfreee)

Fixed bugs:

  • Windows can't open this file when composer.phar is found #196
  • Infection ignores coverage on trait(s) #189
  • Existing coverage: "cannot load zend opcache" #182
  • Phpunit "excludes" are not properly parsed #167
  • Allow coverage of function signatures of traits #191 (BackEndTea)
  • Fix: Don't mutate abstract methods #169 (BackEndTea)
  • Don't try to expand directories with \* and \*\* (glob pattern) #171 (sidz)

PHPUnit7.0. Skip function Mutations. New log types. Custom tmp folder. Tons of bugfixes.

02 Feb 19:50
Compare
Choose a tag to compare

0.7.1 (2018-02-02)

Full Changelog

Deprecated:

  • exclude option in infection.json is Deprecated! and will be removed in 0.8.0. Use excludes instead

Implemented enhancements:

  • PHPUnit ^7.0 support
  • Remove tests/test folders when infection is run for root directory. W… #117 (borNfreee)
  • Config setting for temp files #140 (sidz)
  • Make Humbug's config to be compatible with Infection #120 (sidz)
  • added new types of logs (debug, summary) #135 (BackEndTea)

Fixed bugs:

  • PHP DOM Extension not working when explicitly enabled twice #125
  • Infection not working if using custom printer #108
  • Infection not working with phpdbg #106
  • Startup problem #104
  • Default values of functions not being found by coverage #101
  • disable colors options #99
  • Mutations not working well with function_exists #97
  • Not covered mutant with switch(true) -> switch(false) mutation #34
  • Fix: mutate methods but not functions #113 (BackEndTea)

Merged pull requests:

Disable xdebug, cache AST, Symfony 4 compatibility

23 Dec 06:32
Compare
Choose a tag to compare

0.7.0 (2017-12-22)

Full Changelog

Performance:

  • Disable xdebug for all php processes except code coverage generator #85 (sidz)
  • Parse each source file just 1 time, cache original file AST #95 (borNfreee)

Merged pull requests:

Fixed bugs:

  • Fix issue when custom path for test framework exists #93 (sidz)

Closed issues:

  • Add comma separated files filter #84 (Landerstraeten)
  • Is Infection compatible with PHPUnit 5.x ? #83
  • Feature Request: Add line numbers to diffs on Escaped mutants #72
  • [WIP] Optimize PHP files parsing #86

Logo, fix for bug introduced in 0.6.1

18 Nov 20:57
1db2197
Compare
Choose a tag to compare

0.6.2

Full Changelog

Implemented enhancements:

  • Console logger output format to be compatible with TextFile logger format #80 (sidz)

Fixed bugs:

  • Do not return path of config file when dir is expected. #82 (borNfreee)

Closed issues:

  • Uncovered Mutations not logged? #78

Merged pull requests:

  • Improve the order script execution for travis #81 (sidz)

PHPSpec fixes, performance, DX

18 Nov 15:29
f81b31a
Compare
Choose a tag to compare

0.6.1

Full Changelog

Performance:

  • Reuse Parser, Lexer, PrettyPrinter #76 (borNfreee)
  • Skip composer config bin-dir check if custom path exists #66 (sidz)

Developer Experience (DX):

  • Display test framework output when initial tests fail #65 (borNfreee)
  • Show fatal errors in the console and file logs #64 (borNfreee)
  • Add Log verbosity #56 (sidz)
  • Infection can be installed via Homebrew on MacOS

Fixed bugs:

  • Warning with empty PHPUnit bootstrap #74
  • PublicVisibility mutator seen as escaped mutant for a class implementing an interface #60
  • Source files outside the src folder always skipped #57
  • Show correct type of error message for CI flags #68 (dmecke)

Closed issues:

  • Tests do not pass. Error code 2. "Misuse of shell builtins". STDERR #61
  • Hide killed mutants in output log? #54
  • Tests do not pass. Error code 255. "Unknown error". STDERR: #43
  • Coverage data missing #30

Other merged pull requests:

New mutators. Improved performance. Compatibility with PHPUnit 6.4+

15 Oct 09:22
Compare
Choose a tag to compare

0.6.0

Full Changelog

New Mutators:

  • Zero iteration mutator #52 (sidz)
  • Add Break-Continue mutators #51 (sidz)
  • Swap arguments on spaceship operator #48 (marcosh)

Performance improvements:

  • Fix performance bottleneck by introducing a simple instance-level object cache #44 (borNfreee)

Merged pull requests:

Closed issues:

  • [New Mutator] Swap arguments in the Spaceship operator #47

0.5.3

15 Sep 17:14
Compare
Choose a tag to compare

0.5.3

Full Changelog

Implemented enhancements:

  • Display PHPUnit/PHPSpec version under what tests are run #31
  • Provide meaningful feedback on failure #29
  • Add exceptions handling with printing trace for verbose level. #39 (borNfreee)

Closed issues:

  • request: support phpdbg #36
  • license is weird #35

Merged pull requests:

0.5.2

02 Sep 22:03
Compare
Choose a tag to compare

0.5.2

Full Changelog

Fixed bugs:

  • SourceDirGuesser failure #23

Closed issues:

  • Run as project dependency #27
  • Dependency on sebastian/diff #21

Merged pull requests:

  • Added option '-c|--configuration' for custom configuration file path. #28 (corpsee)
  • Add ISSUE_TEMPLATE.md to get all required info from users #26 (borNfreee)
  • Fix autoload section from composer.json and allow to use multiple paths #25 (sidz)
  • Fixed bootstrap.php for case with install by Composer as dependency and run from vendor/bin #22 (corpsee)