Starter kit for Drupal Extension for easy starting.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
features
.gitignore
LICENSE.txt
README.md
behat.yml
composer.json
init.sh
selenium.sh
setenviroment.sh
update.sh

README.md

Starter kit for DrupalExtension

How to start

Clone it:

git clone git@github.com: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!