Class: DevCreek::TestUnitAdapter

Inherits:
MetricCollector show all
Includes:
Singleton
Defined in:
lib/devcreek_metriccollector.rb

Constant Summary collapse

@@dev_creek_reg =
/([\w]*)\(([\w]*)\)/

Constants included from Log

Log::DEV_CREEK_LOG

Instance Method Summary collapse

Methods inherited from MetricCollector

#end, #test_failed, #test_finished

Methods included from Log

#logger

Instance Method Details

#startObject



70
71
72
# File 'lib/devcreek_metriccollector.rb', line 70

def start
  super "Test::Unit"
end

#test_started(name) ⇒ Object



74
75
76
# File 'lib/devcreek_metriccollector.rb', line 74

def test_started(name)
  super(name, name.match(@@dev_creek_reg)[1], name.match(@@dev_creek_reg)[2]) 
end