Class: Thoreau::DSL::TestSuiteData
- Inherits:
-
Object
- Object
- Thoreau::DSL::TestSuiteData
- Includes:
- Logging
- Defined in:
- lib/thoreau/dsl/test_suite_data.rb
Instance Attribute Summary collapse
-
#appendix_block ⇒ Object
Returns the value of attribute appendix_block.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#test_cases_blocks ⇒ Object
readonly
Returns the value of attribute test_cases_blocks.
-
#test_clans ⇒ Object
readonly
Returns the value of attribute test_clans.
Instance Method Summary collapse
- #add_setup(name, values, block) ⇒ Object
-
#initialize(name, appendix:, test_clan:) ⇒ TestSuiteData
constructor
A new instance of TestSuiteData.
Methods included from Logging
Constructor Details
#initialize(name, appendix:, test_clan:) ⇒ TestSuiteData
Returns a new instance of TestSuiteData.
15 16 17 18 19 20 |
# File 'lib/thoreau/dsl/test_suite_data.rb', line 15 def initialize name, appendix:, test_clan: @name = name @appendix = appendix @test_clans = [test_clan] @test_cases_blocks = [] end |
Instance Attribute Details
#appendix_block ⇒ Object
Returns the value of attribute appendix_block.
9 10 11 |
# File 'lib/thoreau/dsl/test_suite_data.rb', line 9 def appendix_block @appendix_block end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
12 13 14 |
# File 'lib/thoreau/dsl/test_suite_data.rb', line 12 def name @name end |
#test_cases_blocks ⇒ Object (readonly)
Returns the value of attribute test_cases_blocks.
10 11 12 |
# File 'lib/thoreau/dsl/test_suite_data.rb', line 10 def test_cases_blocks @test_cases_blocks end |
#test_clans ⇒ Object (readonly)
Returns the value of attribute test_clans.
13 14 15 |
# File 'lib/thoreau/dsl/test_suite_data.rb', line 13 def test_clans @test_clans end |