cucumber debugger not stopping
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.
- Make sure
rails-debug
listed in your Gemfile - If it's still not being included, make sure you run cucumber like:
bundle exec cucumber ...
精彩评论