Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 1014 Bytes

File metadata and controls

36 lines (24 loc) · 1014 Bytes

Steps to install


  1. install php on machine

(https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu-16-04)

  1. clone repository
  2. cd to automation_php_behat directory
  3. update dependency php composer.phar update

Behat command line


  1. run all scenarios from project
    \automation_php_behat\bin>behat -p default --config ..\automation_php_behat\behat.yml

  2. 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

Feature file


..\automation_php_behat\features\api.feature

Report files


..\automation_php_behat\report\index.html ..\automation_php_behat\report\index.xml