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 #18

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@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.28 -> 5.1.2 age adoption passing confidence

Release Notes

Codeception/Codeception (codeception/codeception)

v5.1.2

Compare Source

v5.1.1

Compare Source

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

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 force-pushed the renovate/codeception-codeception-5.x branch from ab7f564 to 88be06e Compare September 30, 2022 16:00
@renovate renovate bot force-pushed the renovate/codeception-codeception-5.x branch from 88be06e to 893892c Compare October 30, 2022 21:15
@renovate renovate bot force-pushed the renovate/codeception-codeception-5.x branch from 893892c to 281175c Compare March 16, 2023 06:33
@renovate renovate bot force-pushed the renovate/codeception-codeception-5.x branch from 281175c to 9d1503a Compare August 22, 2023 08:01
@renovate renovate bot force-pushed the renovate/codeception-codeception-5.x branch from 9d1503a to 5a309e6 Compare October 15, 2023 18:33
@renovate renovate bot force-pushed the renovate/codeception-codeception-5.x branch from 5a309e6 to 5801207 Compare December 22, 2023 22:25
@renovate renovate bot force-pushed the renovate/codeception-codeception-5.x branch from 5801207 to f30ea73 Compare February 4, 2024 15:25
@renovate renovate bot force-pushed the renovate/codeception-codeception-5.x branch from f30ea73 to 150e2a5 Compare February 23, 2024 22:59
@renovate renovate bot force-pushed the renovate/codeception-codeception-5.x branch from 150e2a5 to baf861a Compare March 7, 2024 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants