Class | Test::Spec::TestCase |
In: |
lib/test/spec.rb
|
Parent: | Object |
name | [R] | |
position | [R] | |
testcase | [R] |
# File lib/test/spec.rb, line 397 397: def initialize(name, parent=nil) 398: @testcase = Class.new(Test::Unit::TestCase) { 399: include InstanceMethods 400: extend ClassMethods 401: } 402: 403: @@POSITION = @@POSITION + 1 404: @testcase.init(name, @@POSITION, parent) 405: end