Class: Test::Unit::TestCase

Inherits:
Object
  • Object
show all
Defined in:
lib/shell_test/unit/shim.rb

Instance Method Summary collapse

Instance Method Details

#skip(msg = nil, bt = caller) ⇒ Object

Call to skip a test.



69
70
71
72
# File 'lib/shell_test/unit/shim.rb', line 69

def skip(msg = nil, bt = caller)
  msg ||= "Skipped, no message given"
  raise ShellTest::Unit::SkipException, msg, bt
end