Class: TestML::TestCase

Inherits:
Test::Unit::TestCase
  • Object
show all
Defined in:
lib/testml/runtime/unit.rb

Overview

This is the class that Test::Unit will use to run actual tests. Every time that a test file creates a TestML object, we inject a method called “test_#test_file_name” into this class, since we know that Test::Unit calls methods that begin with ‘test’.

Instance Attribute Summary collapse

Instance Attribute Details

#nameObject

Returns the value of attribute name.



9
10
11
# File 'lib/testml/runtime/unit.rb', line 9

def name
  @name
end