Sha256: f8cec1c565463e0506f2b90fc238845546d93822c1fbf460028b99bfc733e063
Contents?: true
Size: 358 Bytes
Versions: 2
Compression:
Stored size: 358 Bytes
Contents
require_relative 'message' module Torkify::Event # Event used when a test is started. # # This is currently only one type: 'test' class TestEvent < Struct.new(:type, :file, :lines, :log_file, :worker) include Message def to_s s = "#{type.upcase} #{file}" s += lines.any? ? " (lines #{lines.join(', ')})" : '' end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
torkify-0.0.3 | lib/torkify/event/test_event.rb |
torkify-0.0.2 | lib/torkify/event/test_event.rb |