| Class | Test::Spec::TestCase |
| In: |
lib/test/spec.rb
|
| Parent: | Object |
| name | [R] | |
| position | [R] | |
| testcase | [R] |
# File lib/test/spec.rb, line 498
498: def initialize(name, parent=nil, superclass=Test::Unit::TestCase)
499: @testcase = Class.new(superclass) {
500: include InstanceMethods
501: extend ClassMethods
502: }
503:
504: @@POSITION = @@POSITION + 1
505: @testcase.init(name, @@POSITION, parent)
506: end