Releases: Codeception/Codeception
Releases Β· Codeception/Codeception
5.0.0-RC6
- Added new attributes (Prepare, Env, BeforeClass,AfterClass, Given, When, Then)
- Class level attributes are applied to all methods
- Codeception attributes are supported in unit tests
- Cest format can use data providers from other classes
5.0.0-RC5
- Substitute invalid UTF-8 characters in debug and step output by @SamoylenkoSU (#6483)
5.0.0-RC4
- Implemented basic attribute support (#6449) by @DavertMik
- Significantly reduced dependencies on PHPUnit
- Replaced PHPUnit\Framework\TestResult with ResultAggregator
- Added assertionCount method to ResultAggregator
- DotReporter prints standard result summary (#6441) by @Orchestrator404
- Fixed DotReporter output format
- Fixed fetching remote code coverage data (#6448)
- Loading .env file must not override existing environment variables (#6477)
- All changes from 4.2.0 and 4.2.1:
- Improved multi-application experience, allow filtering suites by name (#6435) by @calvinalkan
- Configuration override is passed to included suites (#5978) by @calvinalkan
- Made dry-run command work with module methods having return types (#6470)
- Support for expectError/Warning/Notice/Deprecation methods in unit tests (Requires PHPUnit 8.4+)
- Implemented new setting
convert_deprecations_to_exceptions
(#6469) - Action file generator: Do not return when return type is never (#6462)
- Execute setupBeforeClass/tearDownAfterClass only once (#6481)
4.2.1
4.2.0
- Improved multi-application experience, allow filtering suites by name (#6435) by @calvinalkan
- Configuration override is passed to included suites (#5978) by @calvinalkan
- Made dry-run command work with module methods having return types (#6470)
- Support for expectError/Warning/Notice/Deprecation methods in unit tests (Requires PHPUnit 8.4+)
- Implemented new setting
convert_deprecations_to_exceptions
(#6469) - Action file generator: Do not return when return type is never (#6462)
- Backported test.useless event from Codeception 5.0 (#6459)
5.0.0-RC3
- Fix incorrect type declaration in InitTemplate by @ziadoz
- Stricter check for phpdotenv v5 (older versions are not supported)
- Throw exception if actor setting is missing in suite configuration
- Use correct types in ParamsLoader and Configuration classes, avoid type errors
5.0.0-RC2
- Added
--shard
,--grep
,--filter
options (#6399) - Added new code coverage settings (#6423)
- Dynamic configuration with parameters can use arrays and other non-string types (#6409)
- Introduced
codecept_pause
function and$this->pause()
in unit tests (#6387) - Interactive console is executed in the scope of paused test class.
- Array of variables can be passed to all
pause
functions/methods - Replaced Hoa Console with PsySH in
codecept console
- Used Symfony VarDumper in
codecept_debug
(#6406) - Fixed type error in code coverage exclude filter by @W0rma
- Fix type error in Recorder extension
5.0.0-RC1
4.1.31
- RunBefore extension prints error output and stops execution if command failed
- Action file generator: Fixed handling of intersection types
- Action file generator: Fixed handling of self and parent types
5.0.0-alpha3
- Support intersection types in actions
- Introduced PSR-12 code style
- Extracted some code to modules and shared libs
- Fixed new incompatibilities with PHPUnit 10