Notify some information.
Example:
def test_notification notify("I'm here!") # Reached here notify("Special!") if special_case? # Reached here too end
options:
:backtrace override backtrace.
# File test-unit-3.3.4/lib/test/unit/notification.rb, line 79 def notify(message, options={}, &block) backtrace = filter_backtrace(options[:backtrace] || caller) notification = Notification.new(name, backtrace, message, :method_name => @method_name) add_notification(notification) end