class Dbtap::Tester
Parent class to all classes that provide some sort of test
Child classes must provide an ok?
method which returns true if the test passes, or false otherwise
Child classes can opt to provide an errors
method with should return a string with any error information relavent to the test
Attributes
name[R]
Public Instance Methods
is_ok?()
click to toggle source
# File lib/dbtap/testers/tester.rb, line 12 def is_ok? ok? rescue puts "Bail out! #{$!.message}" puts $!.backtrace.join("\n") raise end