开发者

Debugging Cucumber step definitions

Is there a开发者_运维知识库 way of stopping execution of a step definition in order to examine the values of instance variables? Maybe debugger, but that didn't work when I tried it just now.


Debugger will work. You need to require ruby-debug either with require 'ruby-debug' or by passing the -d option to the cucumber executable.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜