class TestQueue::TestFramework::Cucumber::FakeKernel

Public Instance Methods

exit(n) click to toggle source
# File lib/test_queue/runner/cucumber.rb, line 74
def exit(n)
  if $!
    # Let Cucumber exit for raised exceptions.
    Kernel.exit(n)
  end
  # Don't let Cucumber exit to indicate test failures. We want to
  # return the number of failures from #run_worker instead.
end