开发者

Debugging Cucumber step definitions

开发者 https://www.devze.com 2023-03-22 00:50 出处:网络
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

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

精彩评论

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