Method: Res::IR#flat_format
- Defined in:
- lib/res/ir.rb
#flat_format ⇒ Object
Returns a simple array of test information [ { :name => ‘test1’, :urn => ‘file/tests.t:32’, :status => ‘passed’, :time => 12.04 },
{ :name => 'test2', :urn => 'file/tests.t:36', :status => 'failed', :time => } ]
73 74 75 76 77 78 79 |
# File 'lib/res/ir.rb', line 73 def flat_format self.tests.collect do |t| { :name => t[:name], :urn => t[:urn], :status => t[:status] } end end |