Skip to content

Instantly share code, notes, and snippets.

@KushalP
Last active December 26, 2015 02:49
Show Gist options
  • Save KushalP/7081335 to your computer and use it in GitHub Desktop.
Save KushalP/7081335 to your computer and use it in GitHub Desktop.
# language: en
Feature: vCloud madness
In order to write cucumber features correctly
As a webop
I need to wrap everything I do around "features"
Scenario: Login
Given an account on the Skyscape portal
And a vCloud organisation
When I login to the vCloud API
Then I am authorised
Scenario: vDC
Given a vCloud login
And a vDC ID
When I query for the vDC ID
Then I receive a good response
Scenario: External network
Given a vCloud login
And a vDC ID
When I query the external network on that vDC
Then I get a reply that matches the web console
Scenario: Internal network
Given a vCloud login
And a vDC ID
When I query the internal network on that vDC
Then I get a reply that matches the web console
Scenario: Edge gateway NAT
Given a vCloud login
And a vDC ID
And an edge gateway ID on a vDC
When I set a NAT rule on that gateway
Then I get a non-error response
Scenario: Catalog discovery
Given a vCloud login
Then I can determine whether a catalog exists
Scenario: Template upload
Given I have a catalog
Then I want to upload a system image as a template so I can build machines
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment