From bff007d50f5969d8ec6fb073871ee04110ac019d Mon Sep 17 00:00:00 2001 From: Thomas Landauer Date: Tue, 13 Feb 2024 21:31:00 +0100 Subject: [PATCH 1/3] Update post-install.txt Minor typos --- codeception/codeception/5.0/post-install.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/codeception/codeception/5.0/post-install.txt b/codeception/codeception/5.0/post-install.txt index b9e64bd95..0a2122116 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/Unit.suite.yml written <- Unit test suite configuration tests/Functional created <- Functional tests -tests/Functional.suite.yml written <- Functional tests suite configuration +tests/Functional.suite.yml written <- Functional test suite configuration tests/Acceptance created <- Acceptance tests -tests/Acceptance.suite.yml written <- Acceptance tests suite configuration +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 From 9cb49687ae76dc8cb436212b578781a819b03043 Mon Sep 17 00:00:00 2001 From: Thomas Landauer Date: Tue, 13 Feb 2024 21:33:12 +0100 Subject: [PATCH 2/3] Update post-install.txt --- codeception/codeception/5.0/post-install.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/codeception/codeception/5.0/post-install.txt b/codeception/codeception/5.0/post-install.txt index 0a2122116..3bff19f4f 100644 --- a/codeception/codeception/5.0/post-install.txt +++ b/codeception/codeception/5.0/post-install.txt @@ -1,9 +1,9 @@ -File codeception.yml created <- Global configuration -tests/Unit created <- Unit tests +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/ created <- Functional tests tests/Functional.suite.yml written <- Functional test suite configuration -tests/Acceptance created <- Acceptance tests +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: From 7f8b7361a8472c046bd6339318b673231e04dfa5 Mon Sep 17 00:00:00 2001 From: Thomas Landauer Date: Tue, 13 Feb 2024 21:59:28 +0100 Subject: [PATCH 3/3] Update Acceptance.suite.yml Aligning to https://github.com/Codeception/Codeception/pull/6735 --- codeception/codeception/5.0/tests/Acceptance.suite.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) 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