-
Access to a suitable vCloud Director organisation.
NB It is not safe to run them against an environment that is in use (e.g. production, preview) as many of the tests clear down all config at the beginning and/or end to ensure the environment is as the tests expect.
-
A config file with the settings configured.
There is a template file to help with this. Copy the template file to
spec/integration/vcloud_tools_testing_config.yaml
and update with parameters suitable for your environment. -
You need to include the set-up for your testing environment in your fog file.
-
The tests use the vCloud Tools Tester gem. You do not need to install this,
bundler
will do this for you.
default: # This is the fog credential that refers to your testing environment, e.g. `test_credential`
vdc_1_name: # The name of a VDC
catalog: # A catalog
vapp_template: # A vApp Template within that catalog
network_1: # The name of the primary network
network_1_ip: # The IP address of the primary network
FOG_CREDENTIAL=test_credential bundle exec integration