登录
注册
开源
企业版
高校版
搜索
帮助中心
使用条款
关于我们
开源
企业版
高校版
私有云
Gitee AI
NEW
我知道了
查看详情
登录
注册
代码拉取完成,页面将自动刷新
捐赠
捐赠前请先登录
取消
前往登录
扫描微信二维码支付
取消
支付完成
支付提示
将跳转至支付宝完成支付
确定
取消
Watch
不关注
关注所有动态
仅关注版本发行动态
关注但不提醒动态
1
Star
0
Fork
0
橙子
/
cucumber-js
代码
Issues
0
Pull Requests
0
Wiki
统计
流水线
服务
Gitee Pages
JavaDoc
PHPDoc
质量分析
Jenkins for Gitee
腾讯云托管
腾讯云 Serverless
悬镜安全
阿里云 SAE
Codeblitz
我知道了,不再自动展开
标签
标签名
描述
提交信息
操作
v1.3.1
44667d9
2016-10-01 05:58
下载
v1.3.0
43578d5
2016-09-09 04:04
下载
v1.2.2
d61df9e
2016-08-06 04:53
下载
v1.2.1
7764eb7
2016-07-06 04:33
下载
v1.2.0
b3cf879
2016-06-25 00:33
下载
v1.1.0
f6089be
2016-06-24 13:21
下载
v1.0.0
84adea2
2016-05-31 02:16
下载
v0.10.4
7e38019
2016-05-31 00:56
下载
v0.10.3
ef6a535
2016-05-20 04:04
下载
v0.10.2
2978ca5
2016-04-08 09:07
下载
v0.10.1
bc868c6
2016-04-02 01:18
下载
v0.10.0
bfee95c
2016-04-01 23:59
下载
v0.9.5
6c0c4c9
2016-02-17 13:23
下载
v0.9.4
d6fbcbf
2016-01-29 00:56
下载
v0.9.3
ea710e8
2016-01-28 00:56
下载
v0.9.2
eaedca8
2015-11-21 01:17
下载
v0.9.1
951d41d
2015-11-17 06:15
下载
v0.9.0
ad8e5d4
2015-11-09 06:47
下载
v0.8.1
Document World constructor changes
ecfeea3
2015-10-23 15:17
下载
v0.8.0
Adds fail fast mode, multiple formatters, target multiple lines in same feature file, disable colors, custom snippet plugins and more. BACKWARD INCOMPATIBLE CHANGES: - Hooks and step definitions signatures are now strictly checked. Accepting too few or too many arguments in your step definitions and hooks will trigger errors. - World constructor functions do not receive a callback from Cucumber anymore. Asynchronous constructors are not idiomatic and therefore made the World API non-intuitive, compared to other libraries. This was also unnecessary as calling asynchronous code before a scenario is achievable through a Before hook. For example, you might currently be asynchronously launching a Webdriver-driven browser window in your World constructor. Since Cucumber 0.8.0, you can't wait for that call to be done in your constructor because it will not receive any callback to invoke asynchronously. Instead, you'll need to move that call to a Before hook: ```javascript // old: this.World = function MyWorld(callback) { var driver = new webdriver.Builder().build(); driver.get('http://google.com') .then(callback); }; // Cucumber 0.8.0+: this.World = function MyWorld() { // only synchronous code allowed here ... } this.Before(function (scenario, callback) { var driver = new webdriver.Builder().build(); driver.get('http://google.com') .then(callback); }); ``` And if you're using promises anyway, you can simply return one from the hook and remove the callback argument altogether.
9cc203a
2015-10-23 04:14
下载
下载
请输入验证码,防止盗链导致资源被占用
取消
下载
1
https://gitee.com/xuchengzhi/cucumber-js.git
[email protected]
:xuchengzhi/cucumber-js.git
xuchengzhi
cucumber-js
cucumber-js
点此查找更多帮助
搜索帮助
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
评论
仓库举报
回到顶部
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册