Skip to content

Fix outdated namespaces, wrong links and factual errors in the guides - #914

Open
W0rma wants to merge 4 commits into
Codeception:masterfrom
W0rma:fix-codeception4-namespaces
Open

W0rma wants to merge 4 commits into
Codeception:masterfrom
W0rma:fix-codeception4-namespaces

Conversation

@W0rma

@W0rma W0rma commented Nov 22, 2026

Copy link
Copy Markdown
Contributor
  • Codeception 4 namespaces: Helper\…, Step\…, Page\… and the _support paths are updated to the Codeception 5 Tests\Support\… layout.
  • @depends → #[Depends]: the BDD example now uses a Cest with #[Depends('login:Log regular user')], and mentions of the deprecated Cept format are removed.
  • Wrong link targets: the Phalcon 5 section links to the module-phalcon5 docs instead of Phalcon4, the include option links to "One Runner for Multiple Applications", and the Stub section links to the Stub reference.
  • Factual errors:
    • show_uncovered example contradicted the text.
    • Bootstrap already enables the ConditionalAssertion, TryTo and Retry decorators (the Retry trait still has to be added).
    • log:/helpers: path keys → output:/support:.
    • _reconfigure → _initialize.
    • Snapshot uses assertSame.
    • Old robo-paracept class names.
    • The generated actor docblock (no haveFriend, has pause).
    • seeEmailIsSent exists in Yii2 too.
    • A broken sentence and a wrong comment in UnitTests.md.
    • Wrong cross-references in APITesting.md, ReusingTestCode.md and ModulesAndHelpers.md.

@W0rma
W0rma requested review from Arhell and TavoNiievez November 22, 2026 18:31

This branch has not been deployed

No deployments
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.

1 participant