Requirements
- Composer
- NodeJS and NPM
- PHP
Installation
-
Copy the repository to your local machine
git clone https://github.com/hetg/behat-selenium-default.git <your_folder> cd <your_folder>
-
Install composer packages
composer install
-
Install npm packages
npm install
-
Copy behat.yml.dist in behat.yml and configure your settings
cp behat.yml.dist behat.yml
Usage
-
Run Selenium2 Server via npm
npm run selenium-start
-
Run Behat tests
./bin/behat