diff --git a/RoboFile.php b/RoboFile.php
index d8cce2d4d..bca066714 100644
--- a/RoboFile.php
+++ b/RoboFile.php
@@ -277,7 +277,7 @@ public function buildDocsExtensions()
protected function documentApiClass($file, $className, $all = false, $repositoryName = null)
{
if ($repositoryName === null) {
- $repositoryUrl = self::REPO_BLOB_URL . "/" . self::BRANCH_5x;
+ $repositoryUrl = self::REPO_BLOB_URL . "/" . self::BRANCH_MAIN;
} else {
$repositoryUrl = 'https://github.com/Codeception/' . $repositoryName . '/blob/master';
}
diff --git a/_layouts/page.html b/_layouts/page.html
index 4a691c34e..b68b50f51 100644
--- a/_layouts/page.html
+++ b/_layouts/page.html
@@ -32,9 +32,8 @@

diff --git a/changelog.markdown b/changelog.markdown
index 026a83c4f..5313c2585 100644
--- a/changelog.markdown
+++ b/changelog.markdown
@@ -9,6 +9,135 @@ title: Codeception Changelog
+### module-redis 3.2.3: 3.2.3
+
+Released by [{:height="16" width="16"} W0rma](https://github.com/W0rma) on 2026/02/18 06:48:20 / [Repository](https://github.com/Codeception/module-redis) / [Releases](https://github.com/Codeception/module-redis/releases)
+
+
+
+## What's Changed
+* Add support for sebastian/comparator v8 in https://github.com/Codeception/module-redis/pull/25
+
+
+**Full Changelog**: https://github.com/Codeception/module-redis/compare/3.2.2...3.2.3
+
+
+### module-webdriver 4.0.5: 4.0.5
+
+Released by [{:height="16" width="16"} W0rma](https://github.com/W0rma) on 2026/02/18 06:32:29 / [Repository](https://github.com/Codeception/module-webdriver) / [Releases](https://github.com/Codeception/module-webdriver/releases)
+
+
+
+## What's Changed
+* Add support for PHPUnit 13 https://github.com/Codeception/module-webdriver/pull/145
+
+
+**Full Changelog**: https://github.com/Codeception/module-webdriver/compare/4.0.4...4.0.5
+
+
+### lib-innerbrowser 4.1.0: 4.1.0
+
+Released by [{:height="16" width="16"} W0rma](https://github.com/W0rma) on 2026/02/18 06:25:58 / [Repository](https://github.com/Codeception/lib-innerbrowser) / [Releases](https://github.com/Codeception/lib-innerbrowser/releases)
+
+
+
+## What's Changed
+* chore(deps): add support for phpunit 13 in https://github.com/Codeception/lib-innerbrowser/pull/85
+* chore(ci): remove obsolete workaround for php > 8.5 in https://github.com/Codeception/lib-innerbrowser/pull/86
+
+
+**Full Changelog**: https://github.com/Codeception/lib-innerbrowser/compare/4.0.8...4.1.0
+
+
+### Codeception 5.3.5: 5.3.5
+
+Released by [{:height="16" width="16"} TavoNiievez](https://github.com/TavoNiievez) on 2026/02/18 06:22:46 / [Repository](https://github.com/Codeception/Codeception) / [Releases](https://github.com/Codeception/Codeception/releases)
+
+
+
+## What's Changed
+* PHP 8.5: Avoid accessing deprecated $http_response_header by **[W0rma](https://github.com/W0rma)** in https://github.com/Codeception/Codeception/pull/6924
+* Add support for PHPUnit 13 by **[W0rma](https://github.com/W0rma)** in https://github.com/Codeception/Codeception/pull/6925
+
+
+**Full Changelog**: https://github.com/Codeception/Codeception/compare/5.3.4...5.3.5
+
+
+### lib-web 2.1.0: 2.1.0
+
+Released by [{:height="16" width="16"} github-actions[bot]](https://github.com/apps/github-actions) on 2026/02/06 15:23:02 / [Repository](https://github.com/Codeception/lib-web) / [Releases](https://github.com/Codeception/lib-web/releases)
+
+
+
+# [2.1.0](https://github.com/Codeception/lib-web/compare/2.0.1...2.1.0) (2026-02-06)
+
+
+### Features
+
+* add support for phpunit 13 ([[#23](https://github.com/Codeception/lib-web/issues/23)](https://github.com/Codeception/lib-web/issues/23)) ([a030a3a](https://github.com/Codeception/lib-web/commit/a030a3a22fc8e856b5957086794ed5403c7992d9))
+
+
+
+
+
+
+### lib-asserts 3.2.0: 3.2.0
+
+Released by [{:height="16" width="16"} github-actions[bot]](https://github.com/apps/github-actions) on 2026/02/06 15:20:17 / [Repository](https://github.com/Codeception/lib-asserts) / [Releases](https://github.com/Codeception/lib-asserts/releases)
+
+
+
+# [3.2.0](https://github.com/Codeception/lib-asserts/compare/3.1.0...3.2.0) (2026-02-06)
+
+
+### Features
+
+* add support for phpunit 13 ([[#20](https://github.com/Codeception/lib-asserts/issues/20)](https://github.com/Codeception/lib-asserts/issues/20)) ([f161e5d](https://github.com/Codeception/lib-asserts/commit/f161e5d3a9e5ae573ca01cfb3b5601ff5303df03))
+
+
+
+
+
+
+### module-phpbrowser 4.0.0: 4.0.0
+
+Released by [{:height="16" width="16"} github-actions[bot]](https://github.com/apps/github-actions) on 2026/01/23 13:25:25 / [Repository](https://github.com/Codeception/module-phpbrowser) / [Releases](https://github.com/Codeception/module-phpbrowser/releases)
+
+
+
+# [4.0.0](https://github.com/Codeception/module-phpbrowser/compare/3.0.2...4.0.0) (2026-01-23)
+
+
+### Features
+
+* allow symfony 8 ([0c65e95](https://github.com/Codeception/module-phpbrowser/commit/0c65e956c1b355d0edb5b4c279265255ac4ac3f6))
+
+
+### BREAKING CHANGES
+
+* The native object return type was added to the doRequest() method of the Guzzle connector.
+That might break code extending from this class.
+
+
+
+
+
+
+### Codeception 5.3.4: 5.3.4
+
+Released by [{:height="16" width="16"} TavoNiievez](https://github.com/TavoNiievez) on 2026/01/14 12:07:18 / [Repository](https://github.com/Codeception/Codeception) / [Releases](https://github.com/Codeception/Codeception/releases)
+
+
+
+## What's Changed
+* Use attributes syntax in gherkin:snippets by **[W0rma](https://github.com/W0rma)** in https://github.com/Codeception/Codeception/pull/6917
+* PHP 8.5: Fix usage of deprecated $http_response_header by **[W0rma](https://github.com/W0rma)** in https://github.com/Codeception/Codeception/pull/6919
+* Do not expect the register_argc_argv ini setting in cli for php >= 8.5 by **[W0rma](https://github.com/W0rma)** in https://github.com/Codeception/Codeception/pull/6921
+
+
+**Full Changelog**: https://github.com/Codeception/Codeception/compare/5.3.3...5.3.4
+
+
### module-mongodb 3.1.0: 3.1.0
Released by [{:height="16" width="16"} TavoNiievez](https://github.com/TavoNiievez) on 2026/01/09 15:54:01 / [Repository](https://github.com/Codeception/module-mongodb) / [Releases](https://github.com/Codeception/module-mongodb/releases)
@@ -2163,39 +2292,6 @@ Released by [{:heigh
-### Codeception 5.0.0-RC5: 5.0.0-RC5
-
-Released by [{:height="16" width="16"} Naktibalda](https://github.com/Naktibalda) on 2022/06/28 06:42:39 / [Repository](https://github.com/Codeception/Codeception) / [Releases](https://github.com/Codeception/Codeception/releases)
-
-
-
-* Substitute invalid UTF-8 characters in debug and step output by **[SamoylenkoSU](https://github.com/SamoylenkoSU)** ([#6483](https://github.com/Codeception/Codeception/issues/6483))
-
-
-### Codeception 5.0.0-RC4: 5.0.0-RC4
-
-Released by [{:height="16" width="16"} Naktibalda](https://github.com/Naktibalda) on 2022/06/22 07:03:20 / [Repository](https://github.com/Codeception/Codeception) / [Releases](https://github.com/Codeception/Codeception/releases)
-
-
-
-* Implemented basic attribute support ([#6449](https://github.com/Codeception/Codeception/issues/6449)) by **[DavertMik](https://github.com/DavertMik)**
-* Significantly reduced dependencies on PHPUnit
-* Replaced PHPUnit\Framework\TestResult with ResultAggregator
-* Added assertionCount method to ResultAggregator
-* DotReporter prints standard result summary ([#6441](https://github.com/Codeception/Codeception/issues/6441)) by **[Orchestrator404](https://github.com/Orchestrator404)**
-* Fixed DotReporter output format
-* Fixed fetching remote code coverage data ([#6448](https://github.com/Codeception/Codeception/issues/6448))
-* Loading .env file must not override existing environment variables ([#6477](https://github.com/Codeception/Codeception/issues/6477))
-* All changes from 4.2.0 and 4.2.1:
- * Improved multi-application experience, allow filtering suites by name ([#6435](https://github.com/Codeception/Codeception/issues/6435)) by **[calvinalkan](https://github.com/calvinalkan)**
- * Configuration override is passed to included suites ([#5978](https://github.com/Codeception/Codeception/issues/5978)) by **[calvinalkan](https://github.com/calvinalkan)**
- * Made dry-run command work with module methods having return types ([#6470](https://github.com/Codeception/Codeception/issues/6470))
- * Support for expectError/Warning/Notice/Deprecation methods in unit tests (Requires PHPUnit 8.4+)
- * Implemented new setting `convert_deprecations_to_exceptions` ([#6469](https://github.com/Codeception/Codeception/issues/6469))
- * Action file generator: Do not return when return type is never ([#6462](https://github.com/Codeception/Codeception/issues/6462))
- * Execute setupBeforeClass/tearDownAfterClass only once ([#6481](https://github.com/Codeception/Codeception/issues/6481))
-
-
### module-yii2 1.1.6: 1.1.6
Released by [{:height="16" width="16"} samdark](https://github.com/samdark) on 2022/06/21 11:05:32 / [Repository](https://github.com/Codeception/module-yii2) / [Releases](https://github.com/Codeception/module-yii2/releases)
@@ -4445,15 +4541,6 @@ Released by [{:heigh
* Introduced switchToFrame method [#9](https://github.com/Codeception/module-webdriver/issues/9)
-### module-webdriver 1.0.8: Suppress UnknownErrorException in _closeSession
-
-Released by [{:height="16" width="16"} Naktibalda](https://github.com/Naktibalda) on 2020/04/29 13:52:51 / [Repository](https://github.com/Codeception/module-webdriver) / [Releases](https://github.com/Codeception/module-webdriver/releases)
-
-
-
-* Suppress UnknownErrorException in _closeSession [#15](https://github.com/Codeception/module-webdriver/issues/15)
-
-
### module-asserts 1.2.1: Require lib-asserts 1.12+
Released by [{:height="16" width="16"} Naktibalda](https://github.com/Naktibalda) on 2020/04/20 07:28:56 / [Repository](https://github.com/Codeception/module-asserts) / [Releases](https://github.com/Codeception/module-asserts/releases)
@@ -4629,15 +4716,6 @@ Released by [{:heigh
-### lib-innerbrowser 1.3.0: Allow to add or remove server parameters
-
-Released by [{:height="16" width="16"} Naktibalda](https://github.com/Naktibalda) on 2020/01/27 09:33:02 / [Repository](https://github.com/Codeception/lib-innerbrowser) / [Releases](https://github.com/Codeception/lib-innerbrowser/releases)
-
-
-
-* [#5](https://github.com/Codeception/lib-innerbrowser/issues/5) by **[svycka](https://github.com/svycka)**
-
-
### module-zf2 1.0.2: Empty request content can't be null
Released by [{:height="16" width="16"} Naktibalda](https://github.com/Naktibalda) on 2020/01/23 17:55:51 / [Repository](https://github.com/Codeception/module-zf2) / [Releases](https://github.com/Codeception/module-zf2/releases)
diff --git a/docs/APITesting.md b/docs/APITesting.md
index 002e49994..dc1950dce 100644
--- a/docs/APITesting.md
+++ b/docs/APITesting.md
@@ -9,10 +9,10 @@ title: API Testing - Codeception Docs
The same way we tested a web site, Codeception allows you to test web services. They are very hard to test manually, so it's a really good idea to automate web service testing. We have SOAP and REST as standards, which are represented in corresponding modules, which we will cover in this chapter.
-You should start by creating a new test suite, (which was not provided by the `bootstrap` command). We recommend calling it **api** and using the `ApiTester` class for it.
+You should start by creating a new test suite, (which was not provided by the `bootstrap` command). We recommend calling it **Api** and using the `ApiTester` class for it.
```bash
-php vendor/bin/codecept generate:suite api
+php vendor/bin/codecept generate:suite Api
```
We will put all the api tests there.
@@ -23,7 +23,7 @@ We will put all the api tests there.
The REST web service is accessed via HTTP with standard methods: `GET`, `POST`, `PUT`, `DELETE`. They allow users to receive and manipulate entities from the service. Accessing a WebService requires an HTTP client, so for using it you need the module `PhpBrowser` or one of framework modules set up. For example, we can use the `Symfony` module for Symfony2 applications in order to ignore web server and test web service internally.
-Configure modules in `api.suite.yml`:
+Configure modules in `Api.suite.yml`:
```yaml
actor: ApiTester
@@ -60,7 +60,7 @@ modules:
Once we have configured our new testing suite, we can create the first sample test:
```bash
-php vendor/bin/codecept generate:cest api CreateUser
+php vendor/bin/codecept generate:cest Api CreateUser
```
It will be called `CreateUserCest.php`.
@@ -379,7 +379,7 @@ class Api extends \Codeception\Module {
## Conclusion
-Codeception has two modules that will help you to test various web services. They need a new `api` suite to be created. Remember, you are not limited to test only response body. By including `Db` module you may check if a user has been created after the `CreateUser` call. You can improve testing scenarios by using REST or SOAP responses in your helper methods.
+Codeception has two modules that will help you to test various web services. They need a new `Api` suite to be created. Remember, you are not limited to test only response body. By including `Db` module you may check if a user has been created after the `CreateUser` call. You can improve testing scenarios by using REST or SOAP responses in your helper methods.
diff --git a/docs/AcceptanceTests.md b/docs/AcceptanceTests.md
index 1673dd8b4..6d51b81d9 100644
--- a/docs/AcceptanceTests.md
+++ b/docs/AcceptanceTests.md
@@ -57,7 +57,7 @@ Common PhpBrowser drawbacks:
We need to specify the `url` parameter in the acceptance suite config:
```yaml
-# acceptance.suite.yml
+# Acceptance.suite.yml
actor: AcceptanceTester
modules:
enabled:
@@ -68,7 +68,7 @@ modules:
We should start by creating a test with the next command:
```
-php vendor/bin/codecept g:cest acceptance Signin
+php vendor/bin/codecept g:cest Acceptance Signin
```
It will be placed into `tests/Acceptance` directory.
@@ -268,10 +268,10 @@ Each failed assertion will be shown in the test results, but it won't stop the t
Conditional assertions are disabled in bootstrap setup. To enable them you should add corresponding step decorators to suite config:
-> If you started project as `codecept init acceptance` they should be already enabled in config
+> If you started project as `codecept init Acceptance` they should be already enabled in config
```yaml
-# in acceptance.suite.yml
+# in Acceptance.suite.yml
# or in codeception.yml inside suites section
step_decorators:
- \Codeception\Step\ConditionalAssertion
@@ -390,7 +390,7 @@ Now, you are ready to run WebDriver tests using Codeception.
To execute a test in a browser you need to change the suite configuration to use **WebDriver** module.
-Modify your `acceptance.suite.yml` file:
+Modify your `Acceptance.suite.yml` file:
```yaml
actor: AcceptanceTester
@@ -503,10 +503,10 @@ $I->retry(4, 400);
Retries are disabled by default. To enable them you should add retry step decorators to suite config:
-> If you started project as `codecept init acceptance` they should be already enabled in config
+> If you started project as `codecept init Acceptance` they should be already enabled in config
```yaml
-# in acceptance.suite.yml
+# in Acceptance.suite.yml
# or in codeception.yml inside suites section
step_decorators:
- \Codeception\Step\Retry
@@ -578,10 +578,10 @@ if ($I->tryToSeeElement('.alert')) {
A/B testing is disabled by default. To enable it you should add corresponding step decorators to suite config:
-> If you started project as `codecept init acceptance` in Codeception >= 3.0 they should be already enabled in config
+> If you started project as `codecept init Acceptance` in Codeception >= 3.0 they should be already enabled in config
```yaml
-# in acceptance.suite.yml
+# in Acceptance.suite.yml
# or in codeception.yml inside suites section
step_decorators:
- \Codeception\Step\TryTo
diff --git a/docs/AdvancedUsage.md b/docs/AdvancedUsage.md
index 68c8f0445..16d44070d 100644
--- a/docs/AdvancedUsage.md
+++ b/docs/AdvancedUsage.md
@@ -192,7 +192,7 @@ public function testNotReadyToday()
There are several ways to execute a bunch of tests. You can run tests from a specific directory:
```
-php vendor/bin/codecept run tests/acceptance/admin
+php vendor/bin/codecept run tests/Acceptance/admin
```
You can execute one (or several) specific groups of tests:
diff --git a/docs/BDD.md b/docs/BDD.md
index abf640754..85cbe3d53 100644
--- a/docs/BDD.md
+++ b/docs/BDD.md
@@ -88,7 +88,7 @@ Feature file is written in Gherkin format. Codeception can generate a feature fi
We will assume that we will use scenarios in feature files for acceptance tests, so feature files to be placed in `acceptance` suite directory:
```bash
-php vendor/bin/codecept g:feature acceptance checkout
+php vendor/bin/codecept g:feature Acceptance checkout
```
Generated template will look like this:
@@ -151,13 +151,13 @@ And in the end we are verifying our expectation using **Then** keyword. The acti
We can test this scenario by executing it in dry-run mode. In this mode test won't be executed (actually, we didn't define any step for it, so it won't be executed in any case).
```bash
-php vendor/bin/codecept dry-run acceptance checkout.feature
+php vendor/bin/codecept dry-run Acceptance checkout.feature
```
```bash
checkout: order several products
Signature: checkout:order several products
-Test: tests/acceptance/checkout.feature:order several products
+Test: tests/Acceptance/checkout.feature:order several products
Scenario --
In order to buy product
As a customer
@@ -181,7 +181,7 @@ Besides the scenario steps listed we got the notification that our steps are not
We can define them easily by executing `gherkin:snippets` command for the given suite:
```bash
-php vendor/bin/codecept gherkin:snippets acceptance
+php vendor/bin/codecept gherkin:snippets Acceptance
```
This will produce code templates for all undefined steps in all feature files of this suite.
@@ -551,7 +551,7 @@ While Behat is a great tool for Behavior Driven Development, you still may prefe
If you decided to run your features with Codeception, we recommend to start with symlinking your `features` directory into one of the test suites:
```bash
-ln -s $PWD/features tests/acceptance
+ln -s $PWD/features tests/Acceptance
```
Then you will need to implement all step definitions. Run `gherkin:snippets` to generate stubs for them.
diff --git a/docs/Codecoverage.md b/docs/Codecoverage.md
index c684c4f73..d164cfd1a 100644
--- a/docs/Codecoverage.md
+++ b/docs/Codecoverage.md
@@ -153,7 +153,7 @@ coverage:
### Remote Server
But if you run tests on different server (or your webserver doesn't use code from current directory) a single option `remote` should be added to config.
-For example, let's turn on remote coverage for acceptance suite in `acceptance.suite.yml`:
+For example, let's turn on remote coverage for acceptance suite in `Acceptance.suite.yml`:
```yaml
diff --git a/docs/ContinuousIntegration.md b/docs/ContinuousIntegration.md
index 59b77d666..c8c893d7d 100644
--- a/docs/ContinuousIntegration.md
+++ b/docs/ContinuousIntegration.md
@@ -178,7 +178,7 @@ before_script:
# Test
test:
script:
- - vendor/bin/codecept run acceptance --xml --html
+ - vendor/bin/codecept run Acceptance --xml --html
artifacts:
when: always
expire_in: 1 week
diff --git a/docs/Customization.md b/docs/Customization.md
index 3060f7836..393897afd 100644
--- a/docs/Customization.md
+++ b/docs/Customization.md
@@ -35,10 +35,10 @@ and you want to get a single report in JUnit and HTML format. The code coverage
If you want to run a specific suite from the application you can execute:
```bash
-php vendor/bin/codecept run unit -c frontend
+php vendor/bin/codecept run Unit -c frontend
```
-Where `unit` is the name of suite and the `-c` option specifies the path to the `codeception.yml` configuration file to use.
+Where `Unit` is the name of suite and the `-c` option specifies the path to the `codeception.yml` configuration file to use.
In this example we will assume that there is `frontend/codeception.yml` configuration file
and that we will execute the unit tests for only that app.
@@ -199,7 +199,7 @@ extensions:
```
-Extensions can also be enabled per suite inside suite configs (like `acceptance.suite.yml`) and for a specific environment.
+Extensions can also be enabled per suite inside suite configs (like `Acceptance.suite.yml`) and for a specific environment.
To enable extension dynamically, execute the `run` command with `--ext` option.
Provide a class name as a parameter:
@@ -371,7 +371,7 @@ You can pass the `-c` option to any Codeception command (except `bootstrap`), to
```
php vendor/bin/codecept run -c ~/projects/ecommerce/
php vendor/bin/codecept run -c ~/projects/drupal
-php vendor/bin/codecept generate:cest acceptance CreateArticle -c ~/projects/drupal/
+php vendor/bin/codecept generate:cest Acceptance CreateArticle -c ~/projects/drupal/
```
@@ -393,19 +393,19 @@ Tests for groups can be specified as an array of file names or directories conta
```yaml
groups:
# add 2 tests to db group
- db: [tests/unit/PersistTest.php, tests/unit/DataTest.php]
+ db: [tests/Unit/PersistTest.php, tests/Unit/DataTest.php]
# add all tests from a directory to api group
- api: [tests/functional/api]
+ api: [tests/Functional/api]
```
A list of tests for the group can be passed from a Group file. It should be defined in plain text with test names on separate lines:
```
-tests/unit/DbTest.php
-tests/unit/UserTest.php:creat
-tests/unit/UserTest.php:update
+tests/Unit/DbTest.php
+tests/Unit/UserTest.php:creat
+tests/Unit/UserTest.php:update
```
A group file can be included by its relative filename:
@@ -542,11 +542,11 @@ You should also specify the path to the `log` directory, where the reports and l
It is possible to run specific suites from included applications:
* `codecept run` ⬅ Execute all tests from all apps and all suites
-* `codecept run unit` ⬅ Runs unit suite from the current app
-* `codecept run admin::unit` ⬅ Runs unit suite from admin app
-* `codecept run *::unit` ⬅ Runs unit suites from all included apps and NOT the root suite
-* `codecept run unit,*::unit` ⬅ Runs included unit suites AND root unit suite
-* `codecept run functional,*::unit` ⬅ Runs included unit suites and root functional suite
+* `codecept run Unit` ⬅ Runs unit suite from the current app
+* `codecept run admin::Unit` ⬅ Runs unit suite from admin app
+* `codecept run *::Unit` ⬅ Runs unit suites from all included apps and NOT the root suite
+* `codecept run Unit,*::Unit` ⬅ Runs included unit suites AND root unit suite
+* `codecept run Functional,*::Unit` ⬅ Runs included unit suites and root functional suite
diff --git a/docs/ParallelExecution.md b/docs/ParallelExecution.md
index 8bf25da48..c3c2a15e8 100644
--- a/docs/ParallelExecution.md
+++ b/docs/ParallelExecution.md
@@ -146,9 +146,9 @@ Codeception can organize tests into [groups](https://codeception.com/docs/Advanc
```bash
-tests/functional/LoginCept.php
-tests/functional/AdminCest.php:createUser
-tests/functional/AdminCest.php:deleteUser
+tests/Functional/LoginCept.php
+tests/Functional/AdminCest.php:createUser
+tests/Functional/AdminCest.php:deleteUser
```
Tasks from `\Codeception\Task\SplitTestsByGroups` will generate non-intersecting group files. You can either split your tests by files or by single tests:
@@ -159,7 +159,7 @@ public function parallelSplitTests()
// Split your tests by files
$this->taskSplitTestFilesByGroups(5)
->projectRoot('.')
- ->testsFrom('tests/acceptance')
+ ->testsFrom('tests/Acceptance')
->groupsTo('tests/Support/Data/paracept_')
->run();
@@ -167,7 +167,7 @@ public function parallelSplitTests()
// Split your tests by single tests (alternatively)
$this->taskSplitTestsByGroups(5)
->projectRoot('.')
- ->testsFrom('tests/acceptance')
+ ->testsFrom('tests/Acceptance')
->groupsTo('tests/Support/Data/paracept_')
->run();
*/
@@ -207,7 +207,7 @@ Let's try to execute tests from the second group:
```bash
-php vendor/bin/codecept run acceptance -g paracept_2
+php vendor/bin/codecept run Acceptance -g paracept_2
```
#### Step 2: Running Tests
@@ -228,7 +228,7 @@ public function parallelRun()
for ($i = 1; $i <= 5; $i++) {
$parallel->process(
$this->taskCodecept() // use built-in Codecept task
- ->suite('acceptance') // run acceptance tests
+ ->suite('Acceptance') // run acceptance tests
->group("paracept_$i") // for all paracept_* groups
->xml("tests/_log/result_$i.xml") // save XML results
);
diff --git a/docs/ReusingTestCode.md b/docs/ReusingTestCode.md
index 078a6b55d..87b89090e 100644
--- a/docs/ReusingTestCode.md
+++ b/docs/ReusingTestCode.md
@@ -95,7 +95,7 @@ Do not hard-code complex CSS or XPath locators in your tests but rather move the
Codeception can generate a PageObject class for you with command:
```
-php vendor/bin/codecept generate:pageobject acceptance Login
+php vendor/bin/codecept generate:pageobject Acceptance Login
```
> It is recommended to use page objects for acceptance testing only
@@ -197,17 +197,17 @@ We call such a classes StepObjects.
Lets create an Admin StepObject with the generator:
```
-php vendor/bin/codecept generate:stepobject acceptance Admin
+php vendor/bin/codecept generate:stepobject Acceptance Admin
```
You can supply optional action names. Enter one at a time, followed by a newline.
End with an empty line to continue to StepObject creation.
```
-php vendor/bin/codecept generate:stepobject acceptance Admin
+php vendor/bin/codecept generate:stepobject Acceptance Admin
Add action to StepObject class (ENTER to exit): loginAsAdmin
Add action to StepObject class (ENTER to exit):
-StepObject was created in /tests/acceptance/_support/Step/Acceptance/Admin.php
+StepObject was created in /tests/Acceptance/_support/Step/Acceptance/Admin.php
```
This will generate a class in `/tests/Support/Step/Acceptance/Admin.php` similar to this:
diff --git a/docs/UnitTests.md b/docs/UnitTests.md
index a25fd79e5..972e26494 100644
--- a/docs/UnitTests.md
+++ b/docs/UnitTests.md
@@ -19,7 +19,7 @@ Create a test using `generate:test` command with a suite and test names as param
php vendor/bin/codecept generate:test Unit Example
```
-It creates a new `ExampleTest` file located in the `tests/unit` directory.
+It creates a new `ExampleTest` file located in the `tests/Unit` directory.
As always, you can run the newly created test with this command:
@@ -255,7 +255,7 @@ function testSavingUser()
```
To enable the database functionality in unit tests, make sure the `Db` module is included
-in the `unit.suite.yml` configuration file.
+in the `Unit.suite.yml` configuration file.
The database will be cleaned and populated after each test, the same way it happens for acceptance and functional tests.
If that's not your required behavior, change the settings of the `Db` module for the current suite. See [Db Module](https://codeception.com/docs/modules/Db)
diff --git a/docs/modules/Laminas.md b/docs/modules/Laminas.md
index c651d57f9..2dbbfcb12 100644
--- a/docs/modules/Laminas.md
+++ b/docs/modules/Laminas.md
@@ -1115,9 +1115,9 @@ $form = [
'checkbox1' => true,
// ...
];
-$I->submitForm('//form[@id=my-form]', string $form, 'submitButton');
+$I->submitForm('//form[@id=my-form]', $form, 'submitButton');
// $I->amOnPage('/path/to/form-page') may be needed
-$I->seeInFormFields('//form[@id=my-form]', string $form);
+$I->seeInFormFields('//form[@id=my-form]', $form);
{% endhighlight %}
diff --git a/docs/modules/Laravel.md b/docs/modules/Laravel.md
index d25c52eaf..91f91e54e 100644
--- a/docs/modules/Laravel.md
+++ b/docs/modules/Laravel.md
@@ -1923,9 +1923,9 @@ $form = [
'checkbox1' => true,
// ...
];
-$I->submitForm('//form[@id=my-form]', string $form, 'submitButton');
+$I->submitForm('//form[@id=my-form]', $form, 'submitButton');
// $I->amOnPage('/path/to/form-page') may be needed
-$I->seeInFormFields('//form[@id=my-form]', string $form);
+$I->seeInFormFields('//form[@id=my-form]', $form);
{% endhighlight %}
diff --git a/docs/modules/Lumen.md b/docs/modules/Lumen.md
index 099811ad0..89315a443 100644
--- a/docs/modules/Lumen.md
+++ b/docs/modules/Lumen.md
@@ -1374,9 +1374,9 @@ $form = [
'checkbox1' => true,
// ...
];
-$I->submitForm('//form[@id=my-form]', string $form, 'submitButton');
+$I->submitForm('//form[@id=my-form]', $form, 'submitButton');
// $I->amOnPage('/path/to/form-page') may be needed
-$I->seeInFormFields('//form[@id=my-form]', string $form);
+$I->seeInFormFields('//form[@id=my-form]', $form);
{% endhighlight %}
diff --git a/docs/modules/Mezzio.md b/docs/modules/Mezzio.md
index 5d250361a..9bb626c5d 100644
--- a/docs/modules/Mezzio.md
+++ b/docs/modules/Mezzio.md
@@ -1027,9 +1027,9 @@ $form = [
'checkbox1' => true,
// ...
];
-$I->submitForm('//form[@id=my-form]', string $form, 'submitButton');
+$I->submitForm('//form[@id=my-form]', $form, 'submitButton');
// $I->amOnPage('/path/to/form-page') may be needed
-$I->seeInFormFields('//form[@id=my-form]', string $form);
+$I->seeInFormFields('//form[@id=my-form]', $form);
{% endhighlight %}
diff --git a/docs/modules/PhpBrowser.md b/docs/modules/PhpBrowser.md
index 4d60041c6..e7733db84 100644
--- a/docs/modules/PhpBrowser.md
+++ b/docs/modules/PhpBrowser.md
@@ -1127,9 +1127,9 @@ $form = [
'checkbox1' => true,
// ...
];
-$I->submitForm('//form[@id=my-form]', string $form, 'submitButton');
+$I->submitForm('//form[@id=my-form]', $form, 'submitButton');
// $I->amOnPage('/path/to/form-page') may be needed
-$I->seeInFormFields('//form[@id=my-form]', string $form);
+$I->seeInFormFields('//form[@id=my-form]', $form);
{% endhighlight %}
diff --git a/docs/modules/Symfony.md b/docs/modules/Symfony.md
index 2179cea92..78666b6fe 100644
--- a/docs/modules/Symfony.md
+++ b/docs/modules/Symfony.md
@@ -3016,9 +3016,9 @@ $form = [
'checkbox1' => true,
// ...
];
-$I->submitForm('//form[@id=my-form]', string $form, 'submitButton');
+$I->submitForm('//form[@id=my-form]', $form, 'submitButton');
// $I->amOnPage('/path/to/form-page') may be needed
-$I->seeInFormFields('//form[@id=my-form]', string $form);
+$I->seeInFormFields('//form[@id=my-form]', $form);
{% endhighlight %}
diff --git a/docs/modules/WebDriver.md b/docs/modules/WebDriver.md
index f9243e410..1641febfd 100644
--- a/docs/modules/WebDriver.md
+++ b/docs/modules/WebDriver.md
@@ -1943,9 +1943,9 @@ $form = [
'checkbox1' => true,
// ...
];
-$I->submitForm('//form[@id=my-form]', string $form, 'submitButton');
+$I->submitForm('//form[@id=my-form]', $form, 'submitButton');
// $I->amOnPage('/path/to/form-page') may be needed
-$I->seeInFormFields('//form[@id=my-form]', string $form);
+$I->seeInFormFields('//form[@id=my-form]', $form);
{% endhighlight %}
diff --git a/docs/modules/Yii2.md b/docs/modules/Yii2.md
index e778e2173..b2a0daea7 100644
--- a/docs/modules/Yii2.md
+++ b/docs/modules/Yii2.md
@@ -1428,9 +1428,9 @@ $form = [
'checkbox1' => true,
// ...
];
-$I->submitForm('//form[@id=my-form]', string $form, 'submitButton');
+$I->submitForm('//form[@id=my-form]', $form, 'submitButton');
// $I->amOnPage('/path/to/form-page') may be needed
-$I->seeInFormFields('//form[@id=my-form]', string $form);
+$I->seeInFormFields('//form[@id=my-form]', $form);
{% endhighlight %}
diff --git a/docs/reference/Autoload.md b/docs/reference/Autoload.md
index 0f62f400a..3eb14f02a 100644
--- a/docs/reference/Autoload.md
+++ b/docs/reference/Autoload.md
@@ -40,7 +40,7 @@ Autoload::addNamespace('app\Codeception', '/path/to/controllers');
{% endhighlight %}
-[See source](https://github.com/Codeception/Codeception/blob/5.3/src/Codeception/Util/Autoload.php#L57)
+[See source](https://github.com/Codeception/Codeception/blob/main/src/Codeception/Util/Autoload.php#L57)
#### load()
@@ -50,6 +50,6 @@ Autoload::addNamespace('app\Codeception', '/path/to/controllers');
* `param string` $class
* `return string|false`
-[See source](https://github.com/Codeception/Codeception/blob/5.3/src/Codeception/Util/Autoload.php#L75)
+[See source](https://github.com/Codeception/Codeception/blob/main/src/Codeception/Util/Autoload.php#L75)
-