novaway / common-contexts
Novaway Behat 常用上下文
2.3.2
2017-12-20 06:07 UTC
Requires
- php: >=5.4.0
- behat/behat: ~3.0
- behat/mink-extension: ~2.0
Requires (Dev)
- behat/mink-goutte-driver: ~1.1
- behat/mink-selenium2-driver: ~1.2
- kherge/box: ~2.5
README
提供最常用的 Behat 测试。
安装
该扩展需要
- Behat
- Mink 扩展
使用方法
使用 Composer 添加依赖
$ php composer.phar require --dev novaway/common-contexts "~2.0"
在 behat.yml
中启用所需的上下文
default: suites: default: contexts: - nwcontext:form - nwcontext:formstone - nwcontext:select2: timeout: 60 # ... extensions: Novaway\CommonContexts\Extension: ~