The Wayback Machine - https://web.archive.org/web/20220206211414/https://github.com/Codeception/Codeception/releases
Skip to content
Compare
Choose a tag to compare

5.0.0-alpha1

Pre-release
Pre-release
  • Decoupled test execution and reporting from PHPUnit
  • Custom reporters implementing TestListener are no longer supported and must be converted to Extensions
  • Tests of all formats are reported as useless if they perform no assertions and reports_useless_tests setting is enabled
  • Added path_coverage setting to enable path and branch coverage #6158 by @s0lus
  • Added optional value to fail-fast option (#6275) by @Verest
  • Removed JSON and TAP loggers
  • Removed code coverage blacklist functionality
  • Removed deprecated class aliases
    • Codeception\TestCase\Test
    • Codeception\Platform\Group
    • Codeception\Platform\Group
    • Codeception\TestCase
  • Removed settings disallow_test_output, log_incomplete_skipped and report_useless_tests
  • Introduced strict types in the code base by @TavoNiievez
  • Compatible with PHPUnit 10 only
  • Compatible with Symfony 4.4 - 6.0
  • Requires PHP 8.0 or higher
Compare
Choose a tag to compare
  • Fixed duplicate test runs when codeception.yml and codeception.dist.yml are present in multi-app setup by @calvinalkan
  • Action generator handles mixed type correctly
  • Parser fix to allow named parameters named class and namespace
Compare
Choose a tag to compare
Compare
Choose a tag to compare
  • Renamed editorUrl setting to editor_url for consistency
  • Fixed wildcard matching of group files (#6302) by @DavertMik
Compare
Choose a tag to compare
  • Added editorUrl setting to codeception.yml (#6261) by @ThomasLandauer
  • Reverted optional value to fail-fast option because it was breaking change (#6290)
  • Fixed E_DEPRECATED warnings in Example class on PHP 8.1 (#6298) by @fabacino
bd05fe0
Compare
Choose a tag to compare
Compare
Choose a tag to compare
  • 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
Compare
Choose a tag to compare
Compare
Choose a tag to compare
  • Security fix: Disable deserialization of RunProcess class (#6241) reported by @snoopysecurity
  • Reduce memory consumption of very large tests (#6230) by @esnelubov
  • Support guzzlehttp/psr7 v2 by @W0rma
  • Fix W3C warning in reports generated by Recorder extension (#6224) by RickR2H
Compare
Choose a tag to compare