diff --git a/codeception/codeception/5.0/post-install.txt b/codeception/codeception/5.0/post-install.txt index b9e64bd95..3bff19f4f 100644 --- a/codeception/codeception/5.0/post-install.txt +++ b/codeception/codeception/5.0/post-install.txt @@ -1,13 +1,13 @@ -File codeception.yml created <- Global configuration -tests/Unit created <- Unit tests -tests/Unit.suite.yml written <- Unit tests suite configuration -tests/Functional created <- Functional tests -tests/Functional.suite.yml written <- Functional tests suite configuration -tests/Acceptance created <- Acceptance tests -tests/Acceptance.suite.yml written <- Acceptance tests suite configuration +codeception.yml written <- Global configuration +tests/Unit/ created <- Unit tests +tests/Unit.suite.yml written <- Unit test suite configuration +tests/Functional/ created <- Functional tests +tests/Functional.suite.yml written <- Functional test suite configuration +tests/Acceptance/ created <- Acceptance tests +tests/Acceptance.suite.yml written <- Acceptance test suite configuration Codeception is installed for acceptance, functional, and unit testing Next steps: -1. Edit tests/Functional.suite.yml to enable Doctrine module if needed +1. Edit tests/Functional.suite.yml to enable the Doctrine module if needed 2. Create your first acceptance test using vendor/bin/codecept generate:cest Acceptance First 3. Write your first test in tests/Acceptance/FirstCest.php 4. Run tests using: vendor/bin/codecept run diff --git a/codeception/codeception/5.0/tests/Acceptance.suite.yml b/codeception/codeception/5.0/tests/Acceptance.suite.yml index 80d865477..ab022c397 100644 --- a/codeception/codeception/5.0/tests/Acceptance.suite.yml +++ b/codeception/codeception/5.0/tests/Acceptance.suite.yml @@ -1,15 +1,14 @@ -# Codeception Test Suite Configuration +# Codeception Acceptance Test Suite Configuration # -# Suite for acceptance tests. -# Perform tests in browser using the WebDriver or PhpBrowser. -# If you need both WebDriver and PHPBrowser tests - create a separate suite. +# Perform tests in a browser by either emulating one using PhpBrowser, or in a real browser using WebDriver. +# If you need both WebDriver and PhpBrowser tests, create a separate suite for each. actor: AcceptanceTester modules: enabled: - PhpBrowser: url: https://localhost:8000 -# add Codeception\Step\Retry trait to AcceptanceTester to enable retries +# Add Codeception\Step\Retry trait to AcceptanceTester to enable retries step_decorators: - Codeception\Step\ConditionalAssertion - Codeception\Step\TryTo