开发者

cucumber debugger not stopping

开发者 https://www.devze.com 2022-12-22 12:06 出处:网络
I\'m trying to debug a simple BDD test 开发者_Python百科using cucumber. In order to do that, I inserted a debugger statement where I would like to break the control flow. But it seems that cucumber ig

I'm trying to debug a simple BDD test 开发者_Python百科using cucumber. In order to do that, I inserted a debugger statement where I would like to break the control flow. But it seems that cucumber ignores this statement.

I'm running the tests executing:

rake cucumber:wip

It's rather simple, so I think the code isn' t worth pasting here. Thanks in advance


You don't have the rails-debug gem installed and/or included.

  1. Make sure rails-debug listed in your Gemfile
  2. If it's still not being included, make sure you run cucumber like:

bundle exec cucumber ...

0

精彩评论

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

关注公众号