NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #589 most downloaded on Packagist
All-in-one PHP Testing Framework
Latest stable
5.3.7
Last release 1 months ago
03 Oct 2026
Release timing varies
gaps range from 8 days to 12 months
Nearly every release is documented
notes for 58 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
14 years old
218 releases · first in 2012
Drag across the ruler to compare, or tap a release to open it.
Fix compatibility with phpunit 13.4 in https://github.com/Codeception/Codeception/pull/6953
Full Changelog: https://github.com/Codeception/Codeception/compare/5.3.6...5.3.7
Prevent serialization of non-backed enums by @innerfly in https://github.com/Codeception/Codeception/pull/6796
ArgumentCountError in ReportPrinter when test names contain % characters by @Fahl-Design in https://github.com/Codeception/Codeception/pull/6927codecept run -g failed by @ThomasLandauer in https://github.com/Codeception/Codeception/pull/6926Full Changelog: https://github.com/Codeception/Codeception/compare/5.3.5...5.3.6
Your coding agent can read these notes before it upgrades. Set up the MCP server →
PHP 8.5: Avoid accessing deprecated $http_response_header by @W0rma in https://github.com/Codeception/Codeception/pull/6924
Full Changelog: https://github.com/Codeception/Codeception/compare/5.3.4...5.3.5
PHP 8.5: Fix usage of deprecated $http_response_header by @W0rma in https://github.com/Codeception/Codeception/pull/6919
Full Changelog: https://github.com/Codeception/Codeception/compare/5.3.3...5.3.4
Replace backtick with shell_exec to prevent php8.5 deprecation by @craig-mcmahon in https://github.com/Codeception/Codeception/pull/6892
branch-alias for feature releases 5.3.x by @llaville in https://github.com/Codeception/Codeception/pull/6879codecept run -g failed by @ThomasLandauer in https://github.com/Codeception/Codeception/pull/6910Full Changelog: https://github.com/Codeception/Codeception/compare/5.3.2...5.3.3
Rollback getSubscribedEvents Extension refactor by @TavoNiievez in https://github.com/Codeception/Codeception/pull/6862
Full Changelog: https://github.com/Codeception/Codeception/compare/5.3.1...5.3.2
Issue 6857: Upddate Actor::__call() to have return type 'mixed' by @troy-rudolph in https://github.com/Codeception/Codeception/pull/6858
Full Changelog: https://github.com/Codeception/Codeception/compare/5.3.0...5.3.1
Update readme.md by @rossaddison in https://github.com/Codeception/Codeception/pull/6834
current() by @ThomasLandauer in https://github.com/Codeception/Codeception/pull/6798Full Changelog: https://github.com/Codeception/Codeception/compare/5.2.1...5.3.0
5.2: Fix loading keywords in behat/gherkin v4.12 by @W0rma in https://github.com/Codeception/Codeception/pull/6855
Full Changelog: https://github.com/Codeception/Codeception/compare/5.2.1...5.2.2
Support PHPUnit 12 by @W0rma in https://github.com/Codeception/Codeception/pull/6826
Full Changelog: https://github.com/Codeception/Codeception/compare/5.2.0...5.2.1
PHP 8.4: E_STRICT deprecation by @W0rma in #6802
declare(strict_types=1); and return type void to generated files by @ThomasLandauer in #6736E_STRICT deprecation by @W0rma in #6802Full Changelog: https://github.com/Codeception/Codeception/compare/5.1.2...5.2.0
Prevent unrelated error from being displayed if a scenario step has failed by @craig-mcmahon in #6743
Reimplemented coverage:exclude option for PHPUnit 11 in #6739
Note: PHPUnit 11 does not support excluding files from code coverage report
Note: PHPUnit 11 does not support excluding files from code coverage report
Add actor to Cest tests dataProviders by @weeg in #6696
Wait for all tests to finish before accessing the serialized test results by @MarcelBolten in #6702
fix sharding for empty tests file by @SamMousa in https://github.com/Codeception/Codeception/pull/6667
Full Changelog: https://github.com/Codeception/Codeception/compare/5.0.10...5.0.11
JUnitReporter: Fixed compatibility with PHPUnit 10.0.16 #6656
Fixed static $defaultName deprecated in _completion command #6633 by @dmitryuk
Nothing published for this version
Disabled phpcs checks in generated action files #6621
$I->wantTo() no longer changes test title at runtime #6622step_decorators in config files generated by bootstrap #6624Conditional, Retry and tryTo decorators in acceptance suite generated by bootstrap #6624Fixed deprecated string syntax in Run command #6618 by @shtiher-pp
canSee assertions in Unit format #6610tryTo methods must return boolean result #6614@skip and @incomplete annotations and attributes in Cest format #6617__mocked field to mocks created by Stub library #6620Don't disable test shuffling when --shard option is used
Undeprecated untyped method arguments in Cest format #6591
Fixed passing test result to dependent tests in unit tests
TypeError when @coversNothing annotation is used by Slamdunk (#6582)codecept init unit creates tests/Support directory (#6578)self-update command by @voku (#6563)Fixed remote code coverage for namespaced suites
Propagate --ext and --override parameters to included test suites by @calvinalkan
ignore_deprecated_code - doesn't collect code coverage for code having @deprecated annotation
Summary of all differences from Codeception 4
--shard, --grep, --filter optionsreports_useless_tests setting is enabledpause functions/methodscodecept_pause function and $this->pause() in unit tests (#6387)path_coverage - enables path and branch coveragestrict_covers_annotation - marks test as risky if it has @covers annotation but executes some other codeignore_deprecated_code - doesn't collect code coverage for code having @deprecated annotationdisable_code_coverage_ignore - ignores @codeCoverageIgnore, @codeCoverageIgnoreStart and @codeCoverageIgnoreEnd annotationsfail-fast optioncodecept consolecodecept_debugafter and failed hooks are executed in reverse orderJSON and TAP report formatsgenerate:cept command (Cept format itself is deprecated)log_incomplete_skippedpaths.log (replaced by paths.output)class_name (replaced by actor)actor (replaced by actor_prefix)Configuration::logDir method (replaced by Configuration::outputDir in 2.0)Support intersection types in actions
Removed generate:cept command (Cept format is deprecated)
generate:cept command (Cept format is deprecated)disallow_test_output and log_incomplete_skipped.paths.log (it was replaced by paths.output in Codeception 2.3)class_name (replaced by actor in Codeception 2.3)actor (replaced by actor_prefix in Codeception 2.3)Configuration::logDir method (replaced by Configuration::logDir in 2.0)Removed deprecated class aliases
Deprecated untyped method arguments in Cest format #6521
Fixed injecting dependencies to actor in Cest and Gherkin formats #6506
Added new attributes (Prepare, Env, BeforeClass,AfterClass, Given, When, Then)
Substitute invalid UTF-8 characters in debug and step output by @SamoylenkoSU
Support for expectError/Warning/Notice/Deprecation methods in unit tests (Requires PHPUnit 8.4+)
convert_deprecations_to_exceptions (#6469)Fix incorrect type declaration in InitTemplate by @ziadoz
Added --shard, --grep, --filter options
--shard, --grep, --filter options (#6399)codecept_pause function and $this->pause() in unit tests (#6387)pause functions/methodscodecept consolecodecept_debug (#6406)Use PHPUnit 9 until PHPUnit 10 is released.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Propagate --ext and --override parameters to included test suites
Execute setupBeforeClass/tearDownAfterClass only once
Support for expectError/Warning/Notice/Deprecation methods in unit tests (Requires PHPUnit 8.4+)
convert_deprecations_to_exceptions (#6469)RunBefore extension prints error output and stops execution if command failed
Fix handling of previous exception in ExtensionException
Fixed duplicate test runs when codeception.yml and codeception.dist.yml are present in multi-app setup by @calvinalkan
Fixed deprecation message in codecept build #6311 by @barmax
Renamed editorUrl setting to editor_url for consistency
Reverted optional value to fail-fast option because it was breaking change
* Update dependencies
Fixed running tests from group files in included configs (#6292) by @DavertMik
In this example, tests listed in slow.txt will be executed from backend/tests and frontend/tests:
# included configs
include:
- backend/tests
- frontend/tests
# groups defined in files
groups:
slow: slow.txt
Fixed broken URL in bootstrap deprecation message by @p810
codecept init api adds AsJson decorators to suite configuration (See https://github.com/Codeception/module-rest/releases/tag/1.4.1)Security fix: Disable deserialization of RunProcess class (#6241) reported by @snoopysecurity
Fix dry-run compatibility with symfony/console 5.3
dry-run compatibility with symfony/console 5.3* Fix compatibility with PHP 7.0
Deprecated generate:cept command
Fix cleanup of included test directories #6117 by @rolandsaven
One column per quarter.