Behat Integration for Magento + Magento Extensions
composer require kassner/magento-behat-extension:dev-master
As an extension developer you are able to place your feature descriptions in your extension directory's Test/features folder.
Example: Hackathon_MageBehatExample1/Test/features/homepage.feature see https://github.com/fooman/MageBehatExamples
Place a behat context file in your extension directory Test/FeatureContext.php to use an extra context (sub context), which is used only for your extension.
Example: Hackathon_MageBehatExample1/Test/FeatureContext.php
Example: [MageAttack] (https://github.com/Schrank/mage-attack)
- Magento Frontend
- Cart
- Checkout
-
Start Selenium2
java -jar selenium-server-standalone.jar
-
Run Features from Magento root folder
php -f shell/behat.php