A test driven Dockerfile example
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docker
spec
Gemfile
Gemfile.lock
README.md
Rakefile

README.md

Test Driven Docker!

This is an example of how to use Test Driven Development with Docker containers. This example uses Serverspec and a Dockerfile.

This repo was used as an example in a blog post of mine: http://blog.danzil.io/2016/05/05/rspec-for-ops-test-driven-docker.html

Requirements

A modern ruby, bundler, and docker

Running

  1. git clone https://github.com/danzilio/TDDocker
  2. cd TDDocker/
  3. bundle install
  4. bundle exec rake spec