有没有办法使刷新测试在未定义的测试中失败?

发布于 2024-09-14 18:04:03 字数 105 浏览 2 评论 0原文

默认情况下,当我运行刷新场景(其中包含未定义的给定/何时/然后子句)时,该测试将被简单地标记为未定义。没有给出关于实际未定义的内容的进一步有用的消息。有没有办法改变这种行为以获得更多未定义的信息?

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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

最冷一天 2024-09-21 18:04:03

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.

诗酒趁年少 2024-09-21 18:04:03

像这样的东西提供了更多信息:

./manage.py test -- -v

github上有一个补丁可以改进这样的事情,作者承诺合并它,但似乎他没有。

https://github.com/rlisagor/freshen/pull/8

Something like this gives a little more info:

./manage.py test -- -v

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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文