Sha256: a4fbc375f5c83fe1cf66abbc9bda617584eb6e69d50bcad27ebf8806f8aca5e4

Contents?: true

Size: 1.33 KB

Versions: 13

Compression:

Stored size: 1.33 KB

Contents

# Running vCloud Core Integration Tests

## Prerequisites

- 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](spec/integration/vcloud_tools_testing_config.yaml.template) 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](https://github.com/gds-operations/vcloud-core#credentials).

- The tests use the [vCloud Tools Tester](http://rubygems.org/gems/vcloud-tools-tester) gem.
  You do not need to install this, `bundler` will do this for you.

## Parameters

````
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
````

## To run the tests

  `FOG_CREDENTIAL=test_credential bundle exec integration`

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
vcloud-core-1.0.0 spec/integration/README.md
vcloud-core-0.16.1 spec/integration/README.md
vcloud-core-0.16.0 spec/integration/README.md
vcloud-core-0.15.0 spec/integration/README.md
vcloud-core-0.14.0 spec/integration/README.md
vcloud-core-0.13.0 spec/integration/README.md
vcloud-core-0.12.0 spec/integration/README.md
vcloud-core-0.11.0 spec/integration/README.md
vcloud-core-0.10.0 spec/integration/README.md
vcloud-core-0.9.0 spec/integration/README.md
vcloud-core-0.8.0 spec/integration/README.md
vcloud-core-0.7.0 spec/integration/README.md
vcloud-core-0.6.0 spec/integration/README.md