Class: Drunit::RemoteTest

Inherits:
Object
  • Object
show all
Defined in:
lib/drunit/remote_test.rb

Defined Under Namespace

Modules: TestCaseModule

Instance Method Summary collapse

Instance Method Details

#new_test_case(name) ⇒ Object



7
8
9
10
11
# File 'lib/drunit/remote_test.rb', line 7

def new_test_case(name)
  tc = Class.new(eval(name, Object.class_eval{ binding }))
  tc.send(:include, TestCaseModule)
  tc.allocate
end