Class: Test::Reporters::Test

Inherits:
AbstractHash show all
Defined in:
lib/test/reporters/test.rb

Overview

Test Reporter is used to test Ruby Test itself.

Instance Attribute Summary

Attributes inherited from Abstract

#runner

Instance Method Summary collapse

Methods inherited from AbstractHash

#begin_test, #end_case, #omit

Methods inherited from Abstract

#begin_test, #clean_backtrace, #code, #end_case, #end_test, #file, #file_and_line, #file_and_line_array, inherited, #line, #omit, #record, registry, #skip_case, #skip_test, #subtotal, #tally, #timestamp, #total, #total_count

Constructor Details

#initialize(runner) ⇒ Test

Returns a new instance of Test.



10
11
12
# File 'lib/test/reporters/test.rb', line 10

def initialize(runner)
  super(runner)
end

Instance Method Details

#begin_case(test_case) ⇒ Object



20
21
22
# File 'lib/test/reporters/test.rb', line 20

def begin_case(test_case)
  super(test_case)
end

#begin_suite(suite) ⇒ Object



15
16
17
# File 'lib/test/reporters/test.rb', line 15

def begin_suite(suite)
  super(suite)
end

#end_suite(suite) ⇒ Object



45
46
47
# File 'lib/test/reporters/test.rb', line 45

def end_suite(suite)
  super(suite)
end

#error(test, exception) ⇒ Object



35
36
37
# File 'lib/test/reporters/test.rb', line 35

def error(test, exception)
  super(test, exception)
end

#fail(test, exception) ⇒ Object



30
31
32
# File 'lib/test/reporters/test.rb', line 30

def fail(test, exception)
  super(test, exception)
end

#pass(test) ⇒ Object

, backtrace=nil)



25
26
27
# File 'lib/test/reporters/test.rb', line 25

def pass(test) #, backtrace=nil)
  super(test)
end

#todo(test, exception) ⇒ Object



40
41
42
# File 'lib/test/reporters/test.rb', line 40

def todo(test, exception)
  super(test, exception)
end