CHANGELOG-5.x.md
branch-alias for feature releases 5.3.x by @llaville in #6879codecept run -g failed by @ThomasLandauer in #6910declare(strict_types=1); and return type void to generated files by @ThomasLandauer in #6736E_STRICT deprecation by @W0rma in #6802$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 #6624canSee 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 #6620TypeError when @coversNothing annotation is used by Slamdunk (#6582)codecept init unit creates tests/Support directory (#6578)self-update command by @voku (#6563)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)convert_deprecations_to_exceptions (#6469)--shard, --grep, --filter options (#6399)codecept_pause function and $this->pause() in unit tests (#6387)pause functions/methodscodecept consolecodecept_debug (#6406)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::outputDir in 2.0)reports_useless_tests setting is enabledfail-fast option (#6275) by #VerestJSON and TAP loggers