Skip to content

tknerr/vagrant-workflow-tests

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Vagrant Workflow Tests

Specs for my Vagrant / Chef Solo based workflow.

It is intended for testing whether the environment in which it is used has all the prerequisites installed and that the common scenarios can be excercised. It also serves as the acceptance tests for Bill's Kitchen (a Chef/Vagrant development environment for Windows) and my Linus' Kitchen (a Chef/Vagrant development environment inside an Ubuntu VM).

Scenarios

The common scenarios are centered around:

  • A sample-toplevel-cookbook with all kinds cookbook tests: syntax check, style checks, linting, unit and integration tests
  • A sample-infrastructure-repo which defines a sample server infrastructure with environments and databages via Vagrant / Chef Solo

Prerequisites

You are in a development environment with Git, Vagrant (>= 1.6), and the following Vagrant plugins installed:

Usage

Whenever you think you are in a sane environment, you can excercise the workflow specs like so:

  1. git clone https://github.com/tknerr/vagrant-workflow-tests
  2. cd vagrant-workflow-tests
  3. rspec

You should see an output like this and all tests should pass:

output of running rspec

About

Specs for my Vagrant / Chef Solo based workflow

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages