Skip to content

Latest commit

 

History

History
58 lines (32 loc) · 838 Bytes

README.md

File metadata and controls

58 lines (32 loc) · 838 Bytes

Starter kit for DrupalExtension

How to start

Clone it:

git clone [email protected]:tanarurkerem/DrupalExtensionStarterKit.git

Initialize:

bash init.sh

If you would like to use Selenium test, start selenium:

bash selenium.sh start

Set your enviroment:

bash setenviroment.sh

Use:

bin/behat

Update:

bash update.sh

Some tips:

Print all available step definitions:

bin/behat -dl

Print *.feature example:

bin/behat --story-syntax

Run tests:

bin/behat

Run one test(eg.: testEnviromentWorks.feature in your features directory):

bin/behat features/testEnviromentWorks.feature

Use Selenium: Add @javascript tag to your Feature or Scenario

Usefull links:

Enjoy!