lib/test/reckon.rb
def add_exception(test_description, exception)
        filename, line_number, line = extract_context(*find_exception(exception.backtrace, caller).split(/:/, 2))
        
        $stderr.puts "#{filename}:#{line_number}"
        $stderr.puts "  * #{test_description}"
        $stderr.puts "  evaluated: #{line.strip}"
        $stderr.puts "  exception: #{exception.inspect}"
        @exceptions += 1
      end
# Reports a broken test to the Reporter
Reports a broken test to the Reporter
Reports a broken test to the Reporter
def add_exception(test_description, exception)
        filename, line_number, line = extract_context(*find_exception(exception.backtrace, caller).split(/:/, 2))
        $stderr.puts "#{filename}:#{line_number}"
        $stderr.puts "  * #{test_description}"
        $stderr.puts "  evaluated: #{line.strip}"
        $stderr.puts "  exception: #{exception.inspect}"
        @exceptions += 1
      end
def add_exception ( test_description , exception ) filename , line_number , line = extract_context ( * find_exception ( exception . backtrace , caller ) . split ( / : / , 2 ) ) $stderr . puts "#{filename}:#{line_number}" $stderr . puts "  * #{test_description}" $stderr . puts "  evaluated: #{line.strip}" $stderr . puts "  exception: #{exception.inspect}" @exceptions += 1 end
Reports a broken test to the Reporter
Reports a broken test to the Reporter
test_description
exception