Skip to content

Instantly share code, notes, and snippets.

@aschmidt75
Last active December 20, 2015 08:19
Show Gist options
  • Save aschmidt75/6099281 to your computer and use it in GitHub Desktop.
Save aschmidt75/6099281 to your computer and use it in GitHub Desktop.
ideas for cucumber-defining and -testing vagrant vms and docker containers
Scenario: Vagrant/Docker Setup
Given a host with 'vagrant' installed
When i run vagrant
Then it should have a vm named 'default'
And it should have a vm named 'web'
And it should have a vm named 'app'
Scenario: Docker Images in web server
Given a vm named 'web'
Then it should have docker installed
And it should have an image 'busybox'
Scenario: Docker Images running on web server
Given a enabled vm named 'web'
Then it should have at least 3 containers with image 'busybox' running
And it should have at least 3 ports mapped to '80'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment