有没有办法使刷新测试在未定义的测试中失败?
默认情况下,当我运行刷新场景(其中包含未定义的给定/何时/然后子句)时,该测试将被简单地标记为未定义。没有给出关于实际未定义的内容的进一步有用的消息。有没有办法改变这种行为以获得更多未定义的信息?
By default when I run a freshen scenario, which contains an undefined given/when/then clause, that test is simply marked as undefined. No further helpful message as to what actually isn't defined is given. Is there a way to change this behavior to get more information what exactly was undefined?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
在 https://github.com/rlisagor/freshen/issues/16 有一个开放的票证请求此操作
我还附上了实现此功能的 github 分支的链接。
There is an open ticket requesting this at https://github.com/rlisagor/freshen/issues/16
I also attached a link to a github branch implementing this.
像这样的东西提供了更多信息:
github上有一个补丁可以改进这样的事情,作者承诺合并它,但似乎他没有。
https://github.com/rlisagor/freshen/pull/8
Something like this gives a little more info:
There is a patch to improve thing like this on github and the author promised to merge it but it seems he didn't.
https://github.com/rlisagor/freshen/pull/8