![]() |
1
3
如果你没有找到解决方案,这就是我今天找到的!这家伙省去了我用php lol所做的工作 https://github.com/olbrich/cuke4php 他已经实施了 wire protocol 用于PHP。简而言之,这是另一个在Cucumber找到任何PHP步骤时运行该步骤的服务器。同时返回结果。 啊,不需要再配置env.rb了。 |
![]() |
2
3
看看Behat,一个PHP版本的黄瓜: http://everzet.com/Behat/ |
![]() |
3
2
步骤定义存储在
http://github.com/aslakhellesoy/cucumber/wiki/Step-Definitions
要用PHP编写步骤,只需将它们放入
http://github.com/aslakhellesoy/cucumber/wiki/php Google的一次快速搜索也带来了关于用cumber、webrat和selenium进行PHP测试的以下文章,这看起来非常有用: http://dev.af83.com/testing/acceptance-tests-php-project-cucumber-webrat-selenium-trio/2010/06/03 不直接支持的其他语言可以使用Cucumber的Wire协议,例如,clucumber(common lisp)的作用是: http://github.com/aslakhellesoy/cucumber/wiki/wire-protocol 我不做PHP,但我希望我的答案仍然有帮助。 |
![]() |
Shubs · API测试|空手道|使用'read'关键字时语法错误 7 年前 |
![]() |
mmar · 黄瓜量角器没有使用多个标签运行 7 年前 |
![]() |
iLion · Appium测试截图文件夹以编程方式删除 7 年前 |
![]() |
KRR16 · 通过Cucumber中的CSV文件使用rest数据 7 年前 |