Class: SqlTestRunner::TestCase
- Inherits:
-
Struct
- Object
- Struct
- SqlTestRunner::TestCase
- Defined in:
- lib/sql_test_runner.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#runner ⇒ Object
Returns the value of attribute runner.
Instance Method Summary collapse
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name
92 93 94 |
# File 'lib/sql_test_runner.rb', line 92 def name @name end |
#runner ⇒ Object
Returns the value of attribute runner
92 93 94 |
# File 'lib/sql_test_runner.rb', line 92 def runner @runner end |
Instance Method Details
#description ⇒ Object
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_s ⇒ Object
96 97 98 |
# File 'lib/sql_test_runner.rb', line 96 def to_s name end |