This Question is Possibly Answered

1 "correct" answer available (4 pts) 2 "helpful" answers available (2 pts)
1 Replies Last post: Jan 6, 2014 9:44 PM by Oleg Sukhodolsky  
rk dy Newbie 1 posts since
Jan 6, 2014
Currently Being Moderated

Jan 6, 2014 7:57 PM

Pause instead of Skip while running tests using debug mode -rubymine 6.0 -cucumber

I am using Rubymine 6.0 to write cucumber tests using ruby and am new to it.

 

When I run a test and a step does not pass , rubymine skips that step and fails the scenario.

 

This makes perfect sense to me when am running hundreds of tests and I want that to happen the way it is now.

 

But, How do I make the test pause on that failed step or that particular line of code when running the test in debug mode?

Is there a way around than to put a break point on the step before it fails and then step into it ?

 

I want the test to pause on that particular point where it failed and let me take over.

 

Thanks,

RK

Oleg Sukhodolsky JetBrains 844 posts since
Apr 4, 2012
Currently Being Moderated
Jan 6, 2014 9:44 PM in response to: rk dy
Re: Pause instead of Skip while running tests using debug mode -rubymine 6.0 -cucumber

You can set breakpoint in the step implementation (ruby code).  We do not support breakpoints in .feature files.

 

Hope this helps, Oleg.

More Like This

  • Retrieving data ...