开发者

Is there a way to make freshen tests fail on undefined tests?

开发者 https://www.devze.com 2023-01-11 22:07 出处:网络
By default when I run a freshen scenario, which contains an undefin开发者_运维百科ed given/when/then clause, that test is simply marked as undefined. No further helpful message as to what actually isn

By default when I run a freshen scenario, which contains an undefin开发者_运维百科ed 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?


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.


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

0

精彩评论

暂无评论...
验证码 换一张
取 消