Skip to content

Commit

Permalink
Merge pull request voxpupuli#244 from petems/add_acceptance_test_docs
Browse files Browse the repository at this point in the history
Add instructions for acceptance tests
  • Loading branch information
R. Tyler Croy committed Feb 16, 2015
2 parents 8f24902 + d9b4c5d commit 29421c4
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions HACKING.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,5 +71,9 @@ Resources may be validated in the catalog using:

## Acceptance testings

* `bundle exec rake spec_prep`
* `bundle exec vagrant up`
Acceptance tests are setup using [Beaker](https://github.com/puppetlabs/beaker), which will spin up an instance (by default [Vagrant](https://www.vagrantup.com/), but also supports various VPC's), apply the puppet code against this spun up node and then uses [Serverspec](http://serverspec.org/) tests to validate behaviour.

To run the tests:

* `bundle exec rspec spec/acceptance/`

0 comments on commit 29421c4

Please sign in to comment.