A presentation about Test Driven Development for containers using ServerSpec.
The presentation is written in RemarkJS, needs a webserver to run and includes all perks like presenter notes etc. e.g. press p to show my notes for each slide, clone the display with c. It's an amazing tool and I love using it for presentations.
The presentation is using embedmd for making use of the existing code samples. You will need to install it first. To "compile" the code samples and add them to the presentation run:
$ ./run build- Docker >=1.12.x (all the tests are written for it)
- Ruby >=2.x (for ServerSpec)
- Bundler >=1.12.4 (to install the necessary Ruby packages)
You can use the run convenience script:
$ ./run serveIt uses Python to spawn a small webserver. Any webserver serving index.html and the images will do though.
You can then use http://localhost:8000/ to gain access.
The run the invididual tests simple use:
$ ./run test1 # Runs first test
$ ./run test2 # Runs second test
$ ./run test3 # Runs third test
You can switch to the failing tests on the failing branch:
$ git checkout failing
$ ./run testX
Note: The tests will fail, obviously ;)