- install php on machine
- clone repository
cdto automation_php_behat directory- update dependency
php composer.phar update
-
run all scenarios from project
\automation_php_behat\bin>behat -p default --config ..\automation_php_behat\behat.yml -
you can run also a single scenario using a tag
\automation_php_behat\bin>behat -p default --tags add --config ..\automation_php_behat\behat.yml
available tags: @add, @delete_one, @delete_dummy, @remaining, @delete_all
--config path to behat.yml config file
--tags scenario tag
--p profile
..\automation_php_behat\features\api.feature
..\automation_php_behat\report\index.html ..\automation_php_behat\report\index.xml