Sha256: 0b9cf82efa4d5bf75f3ebf3af9453ec265b5e00e2b3ef7e4335e6493478e60ff

Contents?: true

Size: 671 Bytes

Versions: 1

Compression:

Stored size: 671 Bytes

Contents

# coding: UTF-8

# Marks scenario as pending
Then /^it should work$/ do
  pending
end.overridable

# See "Then console"
Then 'debugger' do
  step 'console'
end.overridable

# Pauses test execution and opens an IRB shell. Does not halt the application-
# under-test. (Replaces the "Then debugger" step that has never been adequate
# for its job.)
Then 'console' do
  require 'irb'
  ARGV.clear # IRB takes ARGV as its own arguments

  IRB.start
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

1 entries across 1 versions & 1 rubygems

Version Path
spreewald-1.8.0 lib/spreewald/development_steps.rb