Sha256: 09e8b91def637c9d3cdc42de80ef6b213a8c88fd950997601b4435cb1a219d07
Contents?: true
Size: 718 Bytes
Versions: 2
Compression:
Stored size: 718 Bytes
Contents
# coding: UTF-8 # Marks scenario as pending Then /^it should work$/ do pending end.overridable # Starts debugger, or Pry if installed Then /^debugger$/ do if binding.respond_to? :pry binding.pry else debugger end true # Ruby will halt in this line end.overridable # Pauses Cucumber, but not the application (unlike "Then debugger"). From the # test browser, you can interact with your application as you like. Then /^pause$/ do print 'Paused. Continue?' STDIN.getc end.overridable # Waits 2 seconds after each step AfterStep('@slow-motion') do sleep 2 end # Waits for keypress after each step AfterStep('@single-step') do print "Single Stepping. Hit enter to continue" STDIN.getc end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
spreewald-1.7.1 | lib/spreewald/development_steps.rb |
spreewald-1.7.0 | lib/spreewald/development_steps.rb |