- Have PHP (preferably a supported version which is 8+) installed on your machine (or in a container if you prefer).
To check which version is installed, open a terminal or command line and enter
php -v
- For installation instructions, visit
- Have PHP Dependency Manager Composer installed:
- Have Docker installed (optional but recommended):
- Have node and npm
- Make sure that /usr/local/bin is in your $PATH
npm install
- Install selenium standalone
npm install selenium-standalone -g
selenium-standalone install
- Install Symfony Demo Project
- https://github.com/symfony/demo
- composer create-project symfony/symfony-demo my_project
- Install codeception
- cd my_project
- composer require "codeception/codeception" --dev
- Acceptance with PhpBrowser
- Read Blog Articles
- Take a look at Gherkins
- Move to Functional
- Requires a framework module but doesn't need a server
- More Gherkins
- Manage Articles
- Background
- TableNode
- Scenerio Outline Examples
- haveinDatabase
- Cleanup
- Access database
- Use another database in codeception.yml
- Acceptance with Selenium
- Stand Alone
- Recorder
- More Browser Functions
- tags
- waitForElement
- performOn
- ActionSequence::build()
MAKE SURE of suite case Acceptance or acceptance If the actor classes are not created or updated as you expect, try to generate them manually with the build command: php vendor/bin/codecept build