Class: SqlTestRunner::TestCase

Inherits:
Struct
  • Object
show all
Defined in:
lib/sql_test_runner.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



92
93
94
# File 'lib/sql_test_runner.rb', line 92

def name
  @name
end

#runnerObject

Returns the value of attribute runner

Returns:

  • (Object)

    the current value of runner



92
93
94
# File 'lib/sql_test_runner.rb', line 92

def runner
  @runner
end

Instance Method Details

#descriptionObject



99
100
101
# File 'lib/sql_test_runner.rb', line 99

def description
  "testcase #{name}"
end

#stand(stand_name, &block) ⇒ Object



93
94
95
# File 'lib/sql_test_runner.rb', line 93

def stand(stand_name, &block)
  runner.add_stand(Stand.new(self, stand_name, block))
end

#to_sObject



96
97
98
# File 'lib/sql_test_runner.rb', line 96

def to_s
  name
end