mead_steve / behationary
此包已被放弃且不再维护。未建议替代包。
交互式词典,用于在多个上下文中定义的 Behat 步骤。
dev-master
2015-06-16 10:44 UTC
Requires
- php: >=5.3
- vlucas/bulletphp: 1.2.0
Requires (Dev)
- behat/behat: v2.4.5
This package is auto-updated.
Last update: 2019-10-05 15:09:38 UTC
README
适用于 Behat 上下文的可读/可搜索的步骤词典。
需求
- php >= 5.3
- Composer
安装
- 克隆此仓库
- 在根目录下运行 "composer update"。
- 将您的 web 服务器指向 www 子目录。
- 确保任何以 api/ 开头的文件请求都转发到 api.php(对于 Apache,这已经通过 .htaccess 完成)
- 在仓库根目录中创建 config.php(这将自动加载),内容如下所示
<?php namespace Behationary; // todo: Include context files. function getContexts() { // todo: Add all the feature contexts to this array return array( new \FeatureContext(array()), "AnotherFeatureContext" ); }