kassner/magento-behat-extension
最新稳定版本:1.0.1
Composer 安装命令:
composer require kassner/magento-behat-extension
包简介
MageBehat - framework to run Behat/Mink for Magento extension integration tests
README 文档
README
Behat Integration for Magento + Magento Extensions
Installation
composer require kassner/magento-behat-extension:dev-master
Documentation for Extension Developers
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)
Implemented Features
- Magento Frontend
- Cart
- Checkout
Usage
-
Start Selenium2
java -jar selenium-server-standalone.jar -
Run Features from Magento root folder
php -f shell/behat.php
Ideas
统计信息
- 总下载量: 98
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-02-16