Method: Test::Unit::TestCase#initialize
- Defined in:
- lib/test/unit/testcase.rb
#initialize(test_method_name) ⇒ TestCase
Creates a new instance of the fixture for running the test represented by test_method_name.
289 290 291 292 |
# File 'lib/test/unit/testcase.rb', line 289 def initialize(test_method_name) @method_name = test_method_name @internal_data = InternalData.new end |