Sha256: 0608ba46731230a49c9d0e9727db9b2cdd8936bb6c367368a3090500d400f2ff
Contents?: true
Size: 443 Bytes
Versions: 8
Compression:
Stored size: 443 Bytes
Contents
class TestSuite attr_accessor :test_cases attr_accessor :name def self.suite_from_line(line) components = line.split("Test Suite '") end_components = line.split("' started at") if components.count == 2 && end_components.count == 2 TestSuite.new(components.last.split("'").first) end end def initialize (name) @name = name @test_cases = [] end def latest_test_case @test_cases.last end end
Version data entries
8 entries across 8 versions & 1 rubygems