Class: Test::Spec::FocusedTestCase

Inherits:
TestCase show all
Defined in:
lib/test/spec.rb

Instance Attribute Summary

Attributes inherited from TestCase

#ignore, #name, #position, #testcase

Instance Method Summary collapse

Methods inherited from TestCase

#add, #ignore?

Constructor Details

#initialize(name, parent = nil, superclass = Test::Unit::TestCase) ⇒ FocusedTestCase

Returns a new instance of FocusedTestCase.



556
557
558
# File 'lib/test/spec.rb', line 556

def initialize(name, parent=nil, superclass=Test::Unit::TestCase)
  super
end

Instance Method Details

#long_displayObject



560
561
562
# File 'lib/test/spec.rb', line 560

def long_display
  @name + " is in focused mode"
end