docker/machine — pull request #123 by ehazlett (2014-12-19 15:20:03+00:00)
Title: Integration tests

This adds basic integration tests. It will run through create, stop, start, kill and remove for the drivers using a WaitGroup so all are tested simultaneously. Currently, only virtualbox and digitalocean are tested by default as the others need environment variables for testing.

One thing to note: we will need to discuss how to handle the provider actions. For example, there is a race condition with DO where it tries to call one action before another has completed. Adding manual delays seemed hacky. I'm not sure if having the driver block until the action has completed is a possibility or perhaps having the driver action check if there is a pending action and wait -- that would probably be the best IMO.

Also note, to test virtualbox you will most likely need to do this from your host (not in Docker). To test your local machine build you will need to set the environment variable `MACHINE_BINARY` otherwise it will look in your `PATH` for `machine` which is most likely not what you want.