Releases: Codeception/Codeception
Releases · Codeception/Codeception
4.1.30
- Fix handling of previous exception in ExtensionException
- Improved parser fix for PHP keywords as named parameters
- Add link to https://helpukrainewin.org
5.0.0-alpha2
- Generators create namespaced test suites by default (#6071) by @DavertMik
- Test can be filtered by data provider case number or name (#6363) by @Naktibalda
- Removed
generate:cept
command (Cept format is deprecated) - Removed settings
disallow_test_output
andlog_incomplete_skipped
. - Removed setting
paths.log
(it was replaced bypaths.output
in Codeception 2.3) - Removed suite setting
class_name
(replaced byactor
in Codeception 2.3) - Removed global setting
actor
(replaced byactor_prefix
in Codeception 2.3) - Removed
Configuration::logDir
method (replaced byConfiguration::logDir
in 2.0) - ParamLoader throws exception if xml file is used but simplexml extension is missing (#6346) by @mdoelker
- Updated codebase to use PHP 8.0 features by @TavoNiievez
- Don't report test as useless if it failed (fixed bug introduced in alpha1)
- Don't report local test coverage for remote suites (fixed bug introduced in alpha1)
- Moved XmlBuilder class to module-soap
5.0.0-alpha1
- 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
4.1.29
- 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
4.1.28
- Strictly compare test hashes to avoid skipping tests #6320 by @michel-cetina
- Fixed deprecation message in codecept build #6311 by @barmax
4.1.27
- Renamed editorUrl setting to editor_url for consistency
- Fixed wildcard matching of group files (#6302) by @DavertMik
4.1.26
4.1.25
4.1.24
- 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
4.1.23
- Compatibility with PHP 8.1 (#6252)
- Added optional value to fail-fast option (#6275) by #Verest
- Code coverage covers .php files only (#6265)
- Functions are autoloaded by composer (#6263) by @StuTheWebGuy
- 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)- Dockerfile upgraded to use xdebug 3.0.4 (#6250) by @PavelBulat