class Test::Reporters::Tapy
TAP-Y Reporter
Constants
- REVISION
Public Class Methods
new(runner)
click to toggle source
Calls superclass method
# File lib/rubytest/format/tapy.rb, line 12 def initialize(runner) require 'json' super(runner) end
Public Instance Methods
begin_case(test_case)
click to toggle source
Calls superclass method
# File lib/rubytest/format/tapy.rb, line 25 def begin_case(test_case) puts super(test_case).to_yaml end
begin_suite(suite)
click to toggle source
Calls superclass method
# File lib/rubytest/format/tapy.rb, line 18 def begin_suite(suite) hash = super(suite) hash['rev'] = REVISION puts hash.to_json end
end_suite(suite)
click to toggle source
Calls superclass method
# File lib/rubytest/format/tapy.rb, line 55 def end_suite(suite) puts super(suite).to_yaml puts "..." end
error(test, exception)
click to toggle source
Calls superclass method
# File lib/rubytest/format/tapy.rb, line 40 def error(test, exception) puts super(test, exception).to_yaml end
fail(test, exception)
click to toggle source
Calls superclass method
# File lib/rubytest/format/tapy.rb, line 35 def fail(test, exception) puts super(test, exception).to_yaml end
omit(test, exception)
click to toggle source
Calls superclass method
# File lib/rubytest/format/tapy.rb, line 50 def omit(test, exception) puts super(test, exception).to_yaml end
pass(test)
click to toggle source
Calls superclass method
# File lib/rubytest/format/tapy.rb, line 30 def pass(test) #, backtrace=nil) puts super(test).to_yaml end
todo(test, exception)
click to toggle source
Calls superclass method
# File lib/rubytest/format/tapy.rb, line 45 def todo(test, exception) puts super(test, exception).to_yaml end