mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-11-26 06:56:11 +01:00

[BUGFIX] Make the Codeception instructions more robust

This commit is contained in:
Oliver Klee 2018-06-01 10:58:34 +02:00
parent 2e7bc6369f
commit a61e6afee5

View file

@ -72,14 +72,14 @@ In the Run configurations, copy the PHPUnit configuration and use these settings
2. `composer update codeception/codeception` (just in case) 2. `composer update codeception/codeception` (just in case)
3. [download the latest version of ChromeDriver](http://chromedriver.chromium.org/downloads) 3. [download the latest version of ChromeDriver](http://chromedriver.chromium.org/downloads)
4. unzip it 4. unzip it
5. `chromedriver --url-base=/wd/hub` 5. `chromedriver --url-base=wd/hub`
6. `.Build/vendor/bin/codecept run` (in another terminal) 6. `.Build/vendor/bin/codecept run` (in another terminal)
#### In PhpStorm #### In PhpStorm
1. make sure the "Codeception Framework" plugin is activated 1. make sure the "Codeception Framework" plugin is activated
2. right-click on `Tests/Acceptance` 2. right-click on `Tests/Acceptance/StarterCest.php`
3. Run 'Acceptance (Codeception)' 3. Run 'Acceptance (Codeception)'
## Creating new extensions with automated tests ## Creating new extensions with automated tests