Method: Test::Unit::TestCase#name

Defined in:
lib/test/unit/testcase.rb

#nameObject

Returns a human-readable name for the specific test that this instance of TestCase represents.



496
497
498
499
500
501
502
# File 'lib/test/unit/testcase.rb', line 496

def name
  if @internal_data.have_test_data?
    "#{@method_name}[#{data_label}](#{self.class.name})"
  else
    "#{@method_name}(#{self.class.name})"
  end
end