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.
精彩评论