rcarver/config — pull request #49 by rcarver (2012-09-13 00:20:54+00:00)
Title: New improved acceptance test!

The acceptance test code has been massively cleaned up, making it much easier to use it to both build up an environment that you can play with as well as run a full-stack test suite.

There are a handful of scripts in `test/acceptance`:

* `clean` Clean up an existing project, including shutting down its vagrant box.
* `build` Build a new project at `/tmp/config-test-project` This project is all set up to boot a vagrant box and try out some new stuff.
* `boot` Bootstrap and run config on a vagrant box
* `test` Run tests that verify that the bootstrap and config execution put the system into the expected state. These tests are run by the amazing [roundup](http://bmizerany.github.com/roundup/) and stored in `test/acceptance/tests`.
* `run` Does all of these things to perform a complete end-to-end test.

As always, the tests use your current codebase to execute against, so it's a great way to try things out in real time.