Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency codeception/codeception to v5 #23

Merged
merged 1 commit into from
Feb 21, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 25, 2022

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
codeception/codeception (source) 4.1.22 -> 5.1.0 age adoption passing confidence

Release Notes

Codeception/Codeception (codeception/codeception)

v5.1.0

Compare Source

  • Support PHPUnit 11

Note: PHPUnit 11 does not support excluding files from code coverage report

v5.0.13

Compare Source

v5.0.12

Compare Source

  • Wait for all tests to finish before accessing the serialized test results by @​MarcelBolten in #​6702
  • Updated Support Ukraine link in version string

v5.0.11

Compare Source

What's Changed

New Contributors

Full Changelog: Codeception/Codeception@5.0.10...5.0.11

v5.0.10

Compare Source

v5.0.9

Compare Source

  • JUnitReporter: Do not set 'useless' testsuite attribute in strict mode #​6635 by @​gileri
  • Fixed static $defaultName deprecated in _completion command #​6633 by @​dmitryuk
  • Replaced object property assertions removed from PHPUnit 10

v5.0.8

Compare Source

  • Supports PHPUnit 10

v5.0.7

Compare Source

  • Disabled phpcs checks in generated action files #​6621
  • $I->wantTo() no longer changes test title at runtime #​6622
  • Display correct failed step when failures and errors happened during test run #​6623
  • Fixed indentation of step_decorators in config files generated by bootstrap #​6624
  • Enabled Conditional, Retry and tryTo decorators in acceptance suite generated by bootstrap #​6624
  • Improved handling of anonymous classes in parser #​6626

v5.0.6

Compare Source

  • Fixed canSee assertions in Unit format #​6610
  • tryTo methods must return boolean result #​6614
  • Fixed various issues with handling of @skip and @incomplete annotations and attributes in Cest format #​6617
  • Stopped adding __mocked field to mocks created by Stub library #​6620
  • Fixed deprecated string syntax in Run command #​6618 by @​shtiher-pp

v5.0.5

Compare Source

v5.0.4

Compare Source

  • Execute FailFast subscriber before module _failed hooks #​6586 by @​yesdevnull
  • Fixed parsing of @​skip annotation #​6596
  • Undeprecated untyped method arguments in Cest format #​6591
  • Removed unnecessary overrides of $resultAggregator property in Unit format and TestCaseWrapper #​6590
  • Print failure/error/warning/skipped/incomplete messages in HTML reports #​6595
  • Fixed counting of successful tests #​6595

v5.0.3

Compare Source

v5.0.2

Compare Source

v5.0.1

Compare Source

  • Propagate --ext and --override parameters to included test suites by @​calvinalkan (#​6536)
  • Fixed false negative message about stecman/symfony-console-completion package by @​geega (#​6541)
  • Fixed a number of issues in template functionality (#​6552)
  • Fixed DataProvider, to properly load dataProviders from abstract classes by @​Basster (#​6549)

v5.0.0

Compare Source

5.0.0

Blog post

Summary of all differences from Codeception 4

Added
  • Basic attribute support
  • --shard, --grep, --filter options
  • Test can be filtered by data provider case number or name
  • Tests of all formats are reported as useless if they perform no assertions and reports_useless_tests setting is enabled
  • Array of variables can be passed to all pause functions/methods
  • Dynamic configuration with parameters can use arrays and other non-string types (#​6409)
  • codecept_pause function and $this->pause() in unit tests (#​6387)
  • Interactive console is executed in the scope of paused test class.
  • New code coverage settings:
    • path_coverage - enables path and branch coverage
    • strict_covers_annotation - marks test as risky if it has @covers annotation but executes some other code
    • ignore_deprecated_code - doesn't collect code coverage for code having @deprecated annotation
    • disable_code_coverage_ignore - ignores @codeCoverageIgnore, @codeCoverageIgnoreStart and @codeCoverageIgnoreEnd annotations
  • Optional value to fail-fast option
  • Dynamic configuration with parameters can use arrays and other non-string types
Changed
  • PHPUnit is no longer the engine of Codeception, but TestCase format is still supported and assertions are still used
  • Generators create namespaced test suites by default
  • Replaced Hoa Console with PsySH in codecept console
  • Used Symfony VarDumper in codecept_debug
  • Fixed DotReporter output format
  • Module after and failed hooks are executed in reverse order
  • Introduced strict typing and other features of PHP 7 and 8.
  • Cest format can use data providers from other classes
  • Fixed injecting dependencies to actor in Cest and Gherkin formats #​6506
  • Variadic parameters can be skipped in dependency injection #​6505
  • Deprecated untyped method arguments in Cest format #​6521
Removed
  • JSON and TAP report formats
  • Code coverage blacklist functionality
  • generate:cept command (Cept format itself is deprecated)
  • Deprecated class aliases:
    • Codeception\TestCase\Test
    • Codeception\Platform\Group
    • Codeception\Platform\Group
    • Codeception\TestCase
  • Settings
    • log_incomplete_skipped
    • paths.log (replaced by paths.output)
    • Suite setting class_name (replaced by actor)
    • Global setting actor (replaced by actor_prefix)
  • Configuration::logDir method (replaced by Configuration::outputDir in 2.0)
  • Custom reporters implementing TestListener are no longer supported and must be converted to Extensions
Supported versions
  • PHP 8
  • PHPUnit 9 (prepared for upcoming PHPUnit 10)
  • Symfony 4.4 - 6.x

v4.2.2

Compare Source

  • Propagate --ext and --override parameters to included test suites (#​6536)
  • Fixed false negative message about stecman/symfony-console-completion package (#​6541)

v4.2.1

Compare Source

  • Execute setupBeforeClass/tearDownAfterClass only once (#​6481)
  • Handle action with intersection return type correctly in dry-run command

v4.2.0

Compare Source

  • 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)

v4.1.31

Compare Source

  • 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

v4.1.30

Compare Source

  • Fix handling of previous exception in ExtensionException
  • Improved parser fix for PHP keywords as named parameters
  • Add link to https://helpukrainewin.org

v4.1.29

Compare Source

  • 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

v4.1.28

Compare Source

v4.1.27

Compare Source

  • Renamed editorUrl setting to editor_url for consistency
  • Fixed wildcard matching of group files (#​6302) by @​DavertMik

v4.1.26

Compare Source

v4.1.25

Compare Source

v4.1.24

Compare Source

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

v4.1.23

Compare Source


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Sep 25, 2022
@renovate
Copy link
Contributor Author

renovate bot commented Sep 25, 2022

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: composer.lock
Command failed: composer update codeception/codeception:5.1.0 --with-dependencies --ignore-platform-req='ext-*' --ignore-platform-req='lib-*' --no-ansi --no-interaction --no-scripts --no-autoloader --no-plugins
Loading composer repositories with package information
Dependency getgrav/grav is also a root requirement. Package has not been listed as an update argument, so keeping locked at old version. Use --with-all-dependencies (-W) to include root dependencies.
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires codeception/codeception 5.1.0 -> satisfiable by codeception/codeception[5.1.0].
    - codeception/codeception 5.1.0 requires php ^8.0 -> your php version (7.4.33) does not satisfy that requirement.

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

@renovate renovate bot force-pushed the renovate/codeception-codeception-5.x branch from 10576d5 to f9269fe Compare November 20, 2022 09:15
@renovate renovate bot force-pushed the renovate/codeception-codeception-5.x branch from f9269fe to 6d0edd8 Compare March 16, 2023 20:08
@renovate renovate bot force-pushed the renovate/codeception-codeception-5.x branch from 6d0edd8 to 7905644 Compare August 22, 2023 11:27
@renovate renovate bot force-pushed the renovate/codeception-codeception-5.x branch from 7905644 to 764f550 Compare October 15, 2023 19:33
@renovate renovate bot force-pushed the renovate/codeception-codeception-5.x branch from 764f550 to cabde74 Compare December 23, 2023 00:03
@renovate renovate bot force-pushed the renovate/codeception-codeception-5.x branch from cabde74 to 013d896 Compare February 4, 2024 13:02
@pwnyprod pwnyprod merged commit e219ba5 into master Feb 21, 2024
0 of 5 checks passed
@renovate renovate bot deleted the renovate/codeception-codeception-5.x branch February 21, 2024 08:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant