{"action":"created","issue":{"url":"https://api.github.com/repos/chef/chef-provisioning-docker/issues/57","labels_url":"https://api.github.com/repos/chef/chef-provisioning-docker/issues/57/labels{/name}","comments_url":"https://api.github.com/repos/chef/chef-provisioning-docker/issues/57/comments","events_url":"https://api.github.com/repos/chef/chef-provisioning-docker/issues/57/events","html_url":"https://github.com/chef/chef-provisioning-docker/pull/57","id":88748129,"number":57,"title":"adding kitchen tests to validate basic driver functionality","user":{"login":"mwrock","id":655165,"avatar_url":"https://avatars.githubusercontent.com/u/655165?v=3","gravatar_id":"","url":"https://api.github.com/users/mwrock","html_url":"https://github.com/mwrock","followers_url":"https://api.github.com/users/mwrock/followers","following_url":"https://api.github.com/users/mwrock/following{/other_user}","gists_url":"https://api.github.com/users/mwrock/gists{/gist_id}","starred_url":"https://api.github.com/users/mwrock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwrock/subscriptions","organizations_url":"https://api.github.com/users/mwrock/orgs","repos_url":"https://api.github.com/users/mwrock/repos","events_url":"https://api.github.com/users/mwrock/events{/privacy}","received_events_url":"https://api.github.com/users/mwrock/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":16,"created_at":"2015-06-16T14:45:25Z","updated_at":"2015-07-29T19:36:28Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/chef/chef-provisioning-docker/pulls/57","html_url":"https://github.com/chef/chef-provisioning-docker/pull/57","diff_url":"https://github.com/chef/chef-provisioning-docker/pull/57.diff","patch_url":"https://github.com/chef/chef-provisioning-docker/pull/57.patch"},"body":"This adds Test-Kitchen for validating basic driver functionality. It adds a synced folder for the parent gem directory so that tests are run using the \"developed\" gem and not what's on rubygems. I created this for my other PR #56 but think its best to submit this separately. This PR tests the following:\r\n\r\n- Creation of a container\r\n- Creation of a container via `from_image`\r\n- Destroying a container\r\n- Convergence and port listening\r\n\r\nMy PR #56 will add testing of `action :stop` and the `machine_execute` resource.\r\n\r\nI think this is also helpful because it creates a working docker environment and therefore can be run on a more vanilla environment (even Windows) that does not have docker or its prerequisites installed.\r\n\r\nThis uses the `hashicorp/precise64` vagrant box instead of the chef ubuntu box because the hashicorp image supports more providers, notably Hyper-V which I use for personal projects.\r\n"},"comment":{"url":"https://api.github.com/repos/chef/chef-provisioning-docker/issues/comments/126070221","html_url":"https://github.com/chef/chef-provisioning-docker/pull/57#issuecomment-126070221","issue_url":"https://api.github.com/repos/chef/chef-provisioning-docker/issues/57","id":126070221,"user":{"login":"mwrock","id":655165,"avatar_url":"https://avatars.githubusercontent.com/u/655165?v=3","gravatar_id":"","url":"https://api.github.com/users/mwrock","html_url":"https://github.com/mwrock","followers_url":"https://api.github.com/users/mwrock/followers","following_url":"https://api.github.com/users/mwrock/following{/other_user}","gists_url":"https://api.github.com/users/mwrock/gists{/gist_id}","starred_url":"https://api.github.com/users/mwrock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwrock/subscriptions","organizations_url":"https://api.github.com/users/mwrock/orgs","repos_url":"https://api.github.com/users/mwrock/repos","events_url":"https://api.github.com/users/mwrock/events{/privacy}","received_events_url":"https://api.github.com/users/mwrock/received_events","type":"User","site_admin":false},"created_at":"2015-07-29T19:36:28Z","updated_at":"2015-07-29T19:36:28Z","body":"yeah if you could gist the stack trace that would be awesome. "}}