Codeception/Codeception
### [`v5.0.10`](https://togithub.com/Codeception/Codeception/releases/tag/5.0.10)
[Compare Source](https://togithub.com/Codeception/Codeception/compare/5.0.9...5.0.10)
- JUnitReporter: Fixed compatibility with PHPUnit 10.0.16 [#6656](https://togithub.com/Codeception/Codeception/issues/6656)
- Recorder extension: Fixed type error [#6643](https://togithub.com/Codeception/Codeception/issues/6643) by [@thomashohn](https://togithub.com/thomashohn)
- Validate test filter pattern without warning [#6641](https://togithub.com/Codeception/Codeception/issues/6641) by [@dmitryuk](https://togithub.com/dmitryuk)
### [`v5.0.9`](https://togithub.com/Codeception/Codeception/releases/tag/5.0.9)
[Compare Source](https://togithub.com/Codeception/Codeception/compare/5.0.8...5.0.9)
- JUnitReporter: Do not set 'useless' testsuite attribute in strict mode [#6635](https://togithub.com/Codeception/Codeception/issues/6635) by [@gileri](https://togithub.com/gileri)
- Fixed static $defaultName deprecated in \_completion command [#6633](https://togithub.com/Codeception/Codeception/issues/6633) by [@dmitryuk](https://togithub.com/dmitryuk)
- Replaced object property assertions removed from PHPUnit 10
### [`v5.0.8`](https://togithub.com/Codeception/Codeception/releases/tag/5.0.8)
[Compare Source](https://togithub.com/Codeception/Codeception/compare/5.0.7...5.0.8)
- Supports PHPUnit 10
### [`v5.0.7`](https://togithub.com/Codeception/Codeception/releases/tag/5.0.7)
[Compare Source](https://togithub.com/Codeception/Codeception/compare/5.0.6...5.0.7)
- Disabled phpcs checks in generated action files [#6621](https://togithub.com/Codeception/Codeception/issues/6621)
- `$I->wantTo()` no longer changes test title at runtime [#6622](https://togithub.com/Codeception/Codeception/issues/6622)
- Display correct failed step when failures and errors happened during test run [#6623](https://togithub.com/Codeception/Codeception/issues/6623)
- Fixed indentation of `step_decorators` in config files generated by `bootstrap` [#6624](https://togithub.com/Codeception/Codeception/issues/6624)
- Enabled `Conditional`, `Retry` and `tryTo` decorators in acceptance suite generated by `bootstrap` [#6624](https://togithub.com/Codeception/Codeception/issues/6624)
- Improved handling of anonymous classes in parser [#6626](https://togithub.com/Codeception/Codeception/issues/6626)
### [`v5.0.6`](https://togithub.com/Codeception/Codeception/releases/tag/5.0.6)
[Compare Source](https://togithub.com/Codeception/Codeception/compare/5.0.5...5.0.6)
- Fixed `canSee` assertions in Unit format [#6610](https://togithub.com/Codeception/Codeception/issues/6610)
- `tryTo` methods must return boolean result [#6614](https://togithub.com/Codeception/Codeception/issues/6614)
- Fixed various issues with handling of `@skip` and `@incomplete` annotations and attributes in Cest format [#6617](https://togithub.com/Codeception/Codeception/issues/6617)
- Stopped adding `__mocked` field to mocks created by Stub library [#6620](https://togithub.com/Codeception/Codeception/issues/6620)
- Fixed deprecated string syntax in Run command [#6618](https://togithub.com/Codeception/Codeception/issues/6618) by [@shtiher-pp](https://togithub.com/shtiher-pp)
### [`v5.0.5`](https://togithub.com/Codeception/Codeception/releases/tag/5.0.5)
[Compare Source](https://togithub.com/Codeception/Codeception/compare/5.0.4...5.0.5)
- Don't disable test shuffling when --shard option is used ([#6605](https://togithub.com/Codeception/Codeception/issues/6605))
- Provided typed signatures for attributes ([#6600](https://togithub.com/Codeception/Codeception/issues/6600)) by [@mdoelker](https://togithub.com/mdoelker)
- Support for Attributes in generated Actions files ([#6593](https://togithub.com/Codeception/Codeception/issues/6593)) by [@yesdevnull](https://togithub.com/yesdevnull)
- Fixed expectNotToPerformAssertions in unit tests ([#6602](https://togithub.com/Codeception/Codeception/issues/6602)) by [@yesdevnull](https://togithub.com/yesdevnull)
### [`v5.0.4`](https://togithub.com/Codeception/Codeception/releases/tag/5.0.4)
[Compare Source](https://togithub.com/Codeception/Codeception/compare/5.0.3...5.0.4)
- Execute FailFast subscriber before module \_failed hooks [#6586](https://togithub.com/Codeception/Codeception/issues/6586) by [@yesdevnull](https://togithub.com/yesdevnull)
- Fixed parsing of [@skip](https://togithub.com/skip) annotation [#6596](https://togithub.com/Codeception/Codeception/issues/6596)
- Undeprecated untyped method arguments in Cest format [#6591](https://togithub.com/Codeception/Codeception/issues/6591)
- Removed unnecessary overrides of $resultAggregator property in Unit format and TestCaseWrapper [#6590](https://togithub.com/Codeception/Codeception/issues/6590)
- Print failure/error/warning/skipped/incomplete messages in HTML reports [#6595](https://togithub.com/Codeception/Codeception/issues/6595)
- Fixed counting of successful tests [#6595](https://togithub.com/Codeception/Codeception/issues/6595)
### [`v5.0.3`](https://togithub.com/Codeception/Codeception/releases/tag/5.0.3)
[Compare Source](https://togithub.com/Codeception/Codeception/compare/5.0.2...5.0.3)
- Fixed passing test result to dependent tests in unit tests ([#6580](https://togithub.com/Codeception/Codeception/issues/6580))
- Fixed `TypeError` when [@coversNothing](https://togithub.com/coversNothing) annotation is used by Slamdunk ([#6582](https://togithub.com/Codeception/Codeception/issues/6582))
- `codecept init unit` creates `tests/Support` directory ([#6578](https://togithub.com/Codeception/Codeception/issues/6578))
- Fixed phar file url in `self-update` command by [@voku](https://togithub.com/voku) ([#6563](https://togithub.com/Codeception/Codeception/issues/6563))
- Added message how to exit Codeception console by [@ThomasLandauer](https://togithub.com/ThomasLandauer) ([#6561](https://togithub.com/Codeception/Codeception/issues/6561))
- Improved compatibility with PHPUnit 10
### [`v5.0.2`](https://togithub.com/Codeception/Codeception/releases/tag/5.0.2)
[Compare Source](https://togithub.com/Codeception/Codeception/compare/5.0.1...5.0.2)
- Fixed remote code coverage for namespaced suites ([#6533](https://togithub.com/Codeception/Codeception/issues/6533))
- Fixed data provider in abstract Cest class [@p-golovin](https://togithub.com/p-golovin) ([#6560](https://togithub.com/Codeception/Codeception/issues/6560))
- Fixed issue when include groups and test groups empty [@geega](https://togithub.com/geega) ([#6557](https://togithub.com/Codeception/Codeception/issues/6557))
### [`v5.0.1`](https://togithub.com/Codeception/Codeception/releases/tag/5.0.1)
[Compare Source](https://togithub.com/Codeception/Codeception/compare/5.0.0...5.0.1)
- Propagate --ext and --override parameters to included test suites by [@calvinalkan](https://togithub.com/calvinalkan) ([#6536](https://togithub.com/Codeception/Codeception/issues/6536))
- Fixed false negative message about stecman/symfony-console-completion package by [@geega](https://togithub.com/geega) ([#6541](https://togithub.com/Codeception/Codeception/issues/6541))
- Fixed a number of issues in template functionality ([#6552](https://togithub.com/Codeception/Codeception/issues/6552))
- Fixed DataProvider, to properly load dataProviders from abstract classes by [@Basster](https://togithub.com/Basster) ([#6549](https://togithub.com/Codeception/Codeception/issues/6549))
### [`v5.0.0`](https://togithub.com/Codeception/Codeception/releases/tag/5.0.0)
[Compare Source](https://togithub.com/Codeception/Codeception/compare/4.2.2...5.0.0)
##### 5.0.0
[Blog post](https://codeception.com/07-28-2022/codeception-5.html)
Summary of all differences from Codeception 4
##### Added
- Basic attribute support
- `--shard`, `--grep`, `--filter` options
- Test can be filtered by data provider case number or name
- Tests of all formats are reported as useless if they perform no assertions and `reports_useless_tests` setting is enabled
- Array of variables can be passed to all `pause` functions/methods
- Dynamic configuration with parameters can use arrays and other non-string types ([#6409](https://togithub.com/Codeception/Codeception/issues/6409))
- `codecept_pause` function and `$this->pause()` in unit tests ([#6387](https://togithub.com/Codeception/Codeception/issues/6387))
- Interactive console is executed in the scope of paused test class.
- New code coverage settings:
- `path_coverage` - enables path and branch coverage
- `strict_covers_annotation` - marks test as risky if it has `@covers` annotation but executes some other code
- `ignore_deprecated_code` - doesn't collect code coverage for code having `@deprecated` annotation
- `disable_code_coverage_ignore` - ignores `@codeCoverageIgnore`, `@codeCoverageIgnoreStart` and `@codeCoverageIgnoreEnd` annotations
- Optional value to `fail-fast` option
- Dynamic configuration with parameters can use arrays and other non-string types
##### Changed
- PHPUnit is no longer the engine of Codeception, but TestCase format is still supported and assertions are still used
- Generators create namespaced test suites by default
- Replaced Hoa Console with PsySH in `codecept console`
- Used Symfony VarDumper in `codecept_debug`
- Fixed DotReporter output format
- Module `after` and `failed` hooks are executed in reverse order
- Introduced strict typing and other features of PHP 7 and 8.
- Cest format can use data providers from other classes
- Fixed injecting dependencies to actor in Cest and Gherkin formats [#6506](https://togithub.com/Codeception/Codeception/issues/6506)
- Variadic parameters can be skipped in dependency injection [#6505](https://togithub.com/Codeception/Codeception/issues/6505)
- Deprecated untyped method arguments in Cest format [#6521](https://togithub.com/Codeception/Codeception/issues/6521)
##### Removed
- `JSON` and `TAP` report formats
- Code coverage blacklist functionality
- `generate:cept` command (`Cept` format itself is deprecated)
- Deprecated class aliases:
- Codeception\TestCase\Test
- Codeception\Platform\Group
- Codeception\Platform\Group
- Codeception\TestCase
- Settings
- `log_incomplete_skipped`
- `paths.log` (replaced by `paths.output`)
- Suite setting `class_name` (replaced by `actor`)
- Global setting `actor` (replaced by `actor_prefix`)
- `Configuration::logDir` method (replaced by `Configuration::outputDir` in 2.0)
- Custom reporters implementing TestListener are no longer supported and must be converted to Extensions
##### Supported versions
- PHP 8
- PHPUnit 9 (prepared for upcoming PHPUnit 10)
- Symfony 4.4 - 6.x
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
^4.0
->^5.0
Release Notes
Codeception/Codeception
### [`v5.0.10`](https://togithub.com/Codeception/Codeception/releases/tag/5.0.10) [Compare Source](https://togithub.com/Codeception/Codeception/compare/5.0.9...5.0.10) - JUnitReporter: Fixed compatibility with PHPUnit 10.0.16 [#6656](https://togithub.com/Codeception/Codeception/issues/6656) - Recorder extension: Fixed type error [#6643](https://togithub.com/Codeception/Codeception/issues/6643) by [@thomashohn](https://togithub.com/thomashohn) - Validate test filter pattern without warning [#6641](https://togithub.com/Codeception/Codeception/issues/6641) by [@dmitryuk](https://togithub.com/dmitryuk) ### [`v5.0.9`](https://togithub.com/Codeception/Codeception/releases/tag/5.0.9) [Compare Source](https://togithub.com/Codeception/Codeception/compare/5.0.8...5.0.9) - JUnitReporter: Do not set 'useless' testsuite attribute in strict mode [#6635](https://togithub.com/Codeception/Codeception/issues/6635) by [@gileri](https://togithub.com/gileri) - Fixed static $defaultName deprecated in \_completion command [#6633](https://togithub.com/Codeception/Codeception/issues/6633) by [@dmitryuk](https://togithub.com/dmitryuk) - Replaced object property assertions removed from PHPUnit 10 ### [`v5.0.8`](https://togithub.com/Codeception/Codeception/releases/tag/5.0.8) [Compare Source](https://togithub.com/Codeception/Codeception/compare/5.0.7...5.0.8) - Supports PHPUnit 10 ### [`v5.0.7`](https://togithub.com/Codeception/Codeception/releases/tag/5.0.7) [Compare Source](https://togithub.com/Codeception/Codeception/compare/5.0.6...5.0.7) - Disabled phpcs checks in generated action files [#6621](https://togithub.com/Codeception/Codeception/issues/6621) - `$I->wantTo()` no longer changes test title at runtime [#6622](https://togithub.com/Codeception/Codeception/issues/6622) - Display correct failed step when failures and errors happened during test run [#6623](https://togithub.com/Codeception/Codeception/issues/6623) - Fixed indentation of `step_decorators` in config files generated by `bootstrap` [#6624](https://togithub.com/Codeception/Codeception/issues/6624) - Enabled `Conditional`, `Retry` and `tryTo` decorators in acceptance suite generated by `bootstrap` [#6624](https://togithub.com/Codeception/Codeception/issues/6624) - Improved handling of anonymous classes in parser [#6626](https://togithub.com/Codeception/Codeception/issues/6626) ### [`v5.0.6`](https://togithub.com/Codeception/Codeception/releases/tag/5.0.6) [Compare Source](https://togithub.com/Codeception/Codeception/compare/5.0.5...5.0.6) - Fixed `canSee` assertions in Unit format [#6610](https://togithub.com/Codeception/Codeception/issues/6610) - `tryTo` methods must return boolean result [#6614](https://togithub.com/Codeception/Codeception/issues/6614) - Fixed various issues with handling of `@skip` and `@incomplete` annotations and attributes in Cest format [#6617](https://togithub.com/Codeception/Codeception/issues/6617) - Stopped adding `__mocked` field to mocks created by Stub library [#6620](https://togithub.com/Codeception/Codeception/issues/6620) - Fixed deprecated string syntax in Run command [#6618](https://togithub.com/Codeception/Codeception/issues/6618) by [@shtiher-pp](https://togithub.com/shtiher-pp) ### [`v5.0.5`](https://togithub.com/Codeception/Codeception/releases/tag/5.0.5) [Compare Source](https://togithub.com/Codeception/Codeception/compare/5.0.4...5.0.5) - Don't disable test shuffling when --shard option is used ([#6605](https://togithub.com/Codeception/Codeception/issues/6605)) - Provided typed signatures for attributes ([#6600](https://togithub.com/Codeception/Codeception/issues/6600)) by [@mdoelker](https://togithub.com/mdoelker) - Support for Attributes in generated Actions files ([#6593](https://togithub.com/Codeception/Codeception/issues/6593)) by [@yesdevnull](https://togithub.com/yesdevnull) - Fixed expectNotToPerformAssertions in unit tests ([#6602](https://togithub.com/Codeception/Codeception/issues/6602)) by [@yesdevnull](https://togithub.com/yesdevnull) ### [`v5.0.4`](https://togithub.com/Codeception/Codeception/releases/tag/5.0.4) [Compare Source](https://togithub.com/Codeception/Codeception/compare/5.0.3...5.0.4) - Execute FailFast subscriber before module \_failed hooks [#6586](https://togithub.com/Codeception/Codeception/issues/6586) by [@yesdevnull](https://togithub.com/yesdevnull) - Fixed parsing of [@skip](https://togithub.com/skip) annotation [#6596](https://togithub.com/Codeception/Codeception/issues/6596) - Undeprecated untyped method arguments in Cest format [#6591](https://togithub.com/Codeception/Codeception/issues/6591) - Removed unnecessary overrides of $resultAggregator property in Unit format and TestCaseWrapper [#6590](https://togithub.com/Codeception/Codeception/issues/6590) - Print failure/error/warning/skipped/incomplete messages in HTML reports [#6595](https://togithub.com/Codeception/Codeception/issues/6595) - Fixed counting of successful tests [#6595](https://togithub.com/Codeception/Codeception/issues/6595) ### [`v5.0.3`](https://togithub.com/Codeception/Codeception/releases/tag/5.0.3) [Compare Source](https://togithub.com/Codeception/Codeception/compare/5.0.2...5.0.3) - Fixed passing test result to dependent tests in unit tests ([#6580](https://togithub.com/Codeception/Codeception/issues/6580)) - Fixed `TypeError` when [@coversNothing](https://togithub.com/coversNothing) annotation is used by Slamdunk ([#6582](https://togithub.com/Codeception/Codeception/issues/6582)) - `codecept init unit` creates `tests/Support` directory ([#6578](https://togithub.com/Codeception/Codeception/issues/6578)) - Fixed phar file url in `self-update` command by [@voku](https://togithub.com/voku) ([#6563](https://togithub.com/Codeception/Codeception/issues/6563)) - Added message how to exit Codeception console by [@ThomasLandauer](https://togithub.com/ThomasLandauer) ([#6561](https://togithub.com/Codeception/Codeception/issues/6561)) - Improved compatibility with PHPUnit 10 ### [`v5.0.2`](https://togithub.com/Codeception/Codeception/releases/tag/5.0.2) [Compare Source](https://togithub.com/Codeception/Codeception/compare/5.0.1...5.0.2) - Fixed remote code coverage for namespaced suites ([#6533](https://togithub.com/Codeception/Codeception/issues/6533)) - Fixed data provider in abstract Cest class [@p-golovin](https://togithub.com/p-golovin) ([#6560](https://togithub.com/Codeception/Codeception/issues/6560)) - Fixed issue when include groups and test groups empty [@geega](https://togithub.com/geega) ([#6557](https://togithub.com/Codeception/Codeception/issues/6557)) ### [`v5.0.1`](https://togithub.com/Codeception/Codeception/releases/tag/5.0.1) [Compare Source](https://togithub.com/Codeception/Codeception/compare/5.0.0...5.0.1) - Propagate --ext and --override parameters to included test suites by [@calvinalkan](https://togithub.com/calvinalkan) ([#6536](https://togithub.com/Codeception/Codeception/issues/6536)) - Fixed false negative message about stecman/symfony-console-completion package by [@geega](https://togithub.com/geega) ([#6541](https://togithub.com/Codeception/Codeception/issues/6541)) - Fixed a number of issues in template functionality ([#6552](https://togithub.com/Codeception/Codeception/issues/6552)) - Fixed DataProvider, to properly load dataProviders from abstract classes by [@Basster](https://togithub.com/Basster) ([#6549](https://togithub.com/Codeception/Codeception/issues/6549)) ### [`v5.0.0`](https://togithub.com/Codeception/Codeception/releases/tag/5.0.0) [Compare Source](https://togithub.com/Codeception/Codeception/compare/4.2.2...5.0.0) ##### 5.0.0 [Blog post](https://codeception.com/07-28-2022/codeception-5.html) Summary of all differences from Codeception 4 ##### Added - Basic attribute support - `--shard`, `--grep`, `--filter` options - Test can be filtered by data provider case number or name - Tests of all formats are reported as useless if they perform no assertions and `reports_useless_tests` setting is enabled - Array of variables can be passed to all `pause` functions/methods - Dynamic configuration with parameters can use arrays and other non-string types ([#6409](https://togithub.com/Codeception/Codeception/issues/6409)) - `codecept_pause` function and `$this->pause()` in unit tests ([#6387](https://togithub.com/Codeception/Codeception/issues/6387)) - Interactive console is executed in the scope of paused test class. - New code coverage settings: - `path_coverage` - enables path and branch coverage - `strict_covers_annotation` - marks test as risky if it has `@covers` annotation but executes some other code - `ignore_deprecated_code` - doesn't collect code coverage for code having `@deprecated` annotation - `disable_code_coverage_ignore` - ignores `@codeCoverageIgnore`, `@codeCoverageIgnoreStart` and `@codeCoverageIgnoreEnd` annotations - Optional value to `fail-fast` option - Dynamic configuration with parameters can use arrays and other non-string types ##### Changed - PHPUnit is no longer the engine of Codeception, but TestCase format is still supported and assertions are still used - Generators create namespaced test suites by default - Replaced Hoa Console with PsySH in `codecept console` - Used Symfony VarDumper in `codecept_debug` - Fixed DotReporter output format - Module `after` and `failed` hooks are executed in reverse order - Introduced strict typing and other features of PHP 7 and 8. - Cest format can use data providers from other classes - Fixed injecting dependencies to actor in Cest and Gherkin formats [#6506](https://togithub.com/Codeception/Codeception/issues/6506) - Variadic parameters can be skipped in dependency injection [#6505](https://togithub.com/Codeception/Codeception/issues/6505) - Deprecated untyped method arguments in Cest format [#6521](https://togithub.com/Codeception/Codeception/issues/6521) ##### Removed - `JSON` and `TAP` report formats - Code coverage blacklist functionality - `generate:cept` command (`Cept` format itself is deprecated) - Deprecated class aliases: - Codeception\TestCase\Test - Codeception\Platform\Group - Codeception\Platform\Group - Codeception\TestCase - Settings - `log_incomplete_skipped` - `paths.log` (replaced by `paths.output`) - Suite setting `class_name` (replaced by `actor`) - Global setting `actor` (replaced by `actor_prefix`) - `Configuration::logDir` method (replaced by `Configuration::outputDir` in 2.0) - Custom reporters implementing TestListener are no longer supported and must be converted to Extensions ##### Supported versions - PHP 8 - PHPUnit 9 (prepared for upcoming PHPUnit 10) - Symfony 4.4 - 6.xConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.