Module: EtestUnit::TestCase
- Defined in:
- lib/etest-unit.rb
Instance Attribute Summary collapse
-
#tests ⇒ Object
Returns the value of attribute tests.
Instance Method Summary collapse
Instance Attribute Details
#tests ⇒ Object
Returns the value of attribute tests.
113 114 115 |
# File 'lib/etest-unit.rb', line 113 def tests @tests end |
Instance Method Details
#etest=(etest) ⇒ Object
108 109 110 111 |
# File 'lib/etest-unit.rb', line 108 def etest=(etest) @etest = etest include etest end |
#suite ⇒ Object
115 116 117 118 119 120 121 |
# File 'lib/etest-unit.rb', line 115 def suite suite_creator = EtestUnit::TestSuiteCreator.new(self) suite_creator.tests = tests suite = suite_creator.create suite.name = @etest.name suite end |