Class: Vcloud::Tools::Tester::TestSetup

Inherits:
Object
  • Object
show all
Defined in:
lib/vcloud/tools/tester/test_setup.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_paramsObject (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