Class: RubyUnit::TestCase

Inherits:
Object
  • Object
show all
Defined in:
lib/RubyUnit/TestCase.rb

Constant Summary collapse

@@assertions =
0

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.assertionsObject



129
130
131
# File 'lib/RubyUnit/TestCase.rb', line 129

def assertions
  @@assertions
end

.descendentsObject



123
124
125
126
127
# File 'lib/RubyUnit/TestCase.rb', line 123

def descendents
  ObjectSpace.each_object(Class).select do |object|
    object < self
  end
end

Instance Method Details

#setupObject



6
7
# File 'lib/RubyUnit/TestCase.rb', line 6

def setup
end

#teardownObject



9
10
# File 'lib/RubyUnit/TestCase.rb', line 9

def teardown
end