Skip to content

stefanciobotaru/automation_php_behat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published