In Files

Parent

Methods

TestRunner

Attributes

context[R]

Public Class Methods

new(requests) click to toggle source
# File lib/rest_test.rb, line 339
def initialize requests
  @context = TestContext.new requests
end

Public Instance Methods

run(testfile) click to toggle source
# File lib/rest_test.rb, line 343
def run testfile
  File.open testfile do |file|
    eval( file.read, @context.get_binding )
  end

  @context.print_summary
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.