From efa5dde387d6c65e2e72df23491f407ec1524a18 Mon Sep 17 00:00:00 2001 From: Gintautas Miselis Date: Sun, 18 Sep 2022 10:34:08 +0300 Subject: [PATCH] Remove outdated helper information Codeception 5 does not generate per-suite helpers anymore --- docs/02-GettingStarted.md | 2 -- docs/03-AcceptanceTests.md | 2 -- docs/06-ModulesAndHelpers.md | 5 ++--- docs/07-AdvancedUsage.md | 1 - docs/AcceptanceTests.md | 2 -- docs/AdvancedUsage.md | 1 - docs/GettingStarted.md | 2 -- docs/ModulesAndHelpers.md | 5 ++--- quickstart.html | 1 - 9 files changed, 4 insertions(+), 17 deletions(-) diff --git a/docs/02-GettingStarted.md b/docs/02-GettingStarted.md index 12ecfb21e..c9ebad703 100644 --- a/docs/02-GettingStarted.md +++ b/docs/02-GettingStarted.md @@ -59,7 +59,6 @@ modules: enabled: - PhpBrowser: url: 'http://localhost/myapp/' - - Tests\Support\Helper\Acceptance ``` @@ -161,7 +160,6 @@ modules: enabled: - PhpBrowser: url: 'http://myappurl.local' - - \Helper\Acceptance ``` diff --git a/docs/03-AcceptanceTests.md b/docs/03-AcceptanceTests.md index af9a02787..8dc428885 100644 --- a/docs/03-AcceptanceTests.md +++ b/docs/03-AcceptanceTests.md @@ -63,7 +63,6 @@ modules: enabled: - PhpBrowser: url: http://www.example.com/ - - \Helper\Acceptance ``` We should start by creating a test with the next command: @@ -400,7 +399,6 @@ modules: - WebDriver: url: {{your site URL}} browser: chrome - - \Helper\Acceptance ``` See [WebDriver Module](https://codeception.com/docs/modules/WebDriver) for details. diff --git a/docs/06-ModulesAndHelpers.md b/docs/06-ModulesAndHelpers.md index 0f26199c9..0b08b983a 100644 --- a/docs/06-ModulesAndHelpers.md +++ b/docs/06-ModulesAndHelpers.md @@ -132,9 +132,8 @@ modules: ## Helpers Codeception doesn't restrict you to only the modules from the main repository. -Your project might need your own actions added to the test suite. By running the `bootstrap` command, -Codeception generates three dummy modules for you, one for each of the newly created suites. -These custom modules are called 'Helpers', and they can be found in the `tests/_support` directory. +Your project might need your own actions added to the test suite. By running the `codecept generate:helper Name` command, +you can generate custom module called 'Helper' in `tests/Support/Helper` directory. ```php 1.Install enabled: - PhpBrowser: url: {YOUR APP'S URL} - - Tests\Support\Helper\Acceptance