class RR::Integrations::TestUnit2

Public Instance Methods

applies?() click to toggle source
# File lib/rr/integrations/test_unit_2.rb, line 8
def applies?
  defined?(::Test::Unit) &&
  defined?(::Test::Unit::TestCase) &&
  has_test_unit_version?
end
name() click to toggle source
# File lib/rr/integrations/test_unit_2.rb, line 4
def name
  RR.ruby_18? ? 'Test::Unit 2.4.x' : 'Test::Unit >= 2.5'
end