Class: Vcloud::Tools::Tester::TestSetup
- Inherits:
-
Object
- Object
- Vcloud::Tools::Tester::TestSetup
- Defined in:
- lib/vcloud/tools/tester/test_setup.rb
Instance Attribute Summary collapse
-
#test_params ⇒ Object
readonly
Returns the value of attribute test_params.
Instance Method Summary collapse
-
#initialize(config_file, expected_params) ⇒ TestSetup
constructor
A new instance of TestSetup.
Constructor Details
#initialize(config_file, expected_params) ⇒ TestSetup
Returns a new instance of TestSetup.
9 10 11 12 13 14 |
# File 'lib/vcloud/tools/tester/test_setup.rb', line 9 def initialize(config_file, expected_params) user_params = Vcloud::Tools::Tester::UserParameters.new(config_file, expected_params).user_params fixture_params = Vcloud::Tools::Tester::FixtureParameters.new(user_params, expected_params).fixture_params @test_params = Vcloud::Tools::Tester::TestParameters.new(user_params, fixture_params) end |
Instance Attribute Details
#test_params ⇒ Object (readonly)
Returns the value of attribute test_params.
7 8 9 |
# File 'lib/vcloud/tools/tester/test_setup.rb', line 7 def test_params @test_params end |