<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Test Driven Development on Martin Ahrer</title><link>https://www.martinahrer.at/tags/test-driven-development/</link><description>Recent content in Test Driven Development on Martin Ahrer</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Thu, 01 Oct 2020 00:00:00 +0000</lastBuildDate><atom:link href="https://www.martinahrer.at/tags/test-driven-development/index.xml" rel="self" type="application/rss+xml"/><item><title>TDD for infrastructure with ignite + firecracker</title><link>https://www.martinahrer.at/2020/10/01/tdd-for-infrastructure-with-ignite--firecracker/</link><pubDate>Thu, 01 Oct 2020 00:00:00 +0000</pubDate><guid>https://www.martinahrer.at/2020/10/01/tdd-for-infrastructure-with-ignite--firecracker/</guid><description>&lt;div class="paragraph">
&lt;p>This is the last post in the series of posts about TDD for infrastructure.
If you wanted to follow along I recommend first reading &lt;a href="https://www.martinahrer.at/code/tdd-for-infrastructure-vagrant.html">TDD for infrastructure with Vagrant&lt;/a> and then &lt;a href="https://www.martinahrer.at/code/tdd-for-infrastructure-footloose.html">TDD for infrastructure with footloose&lt;/a>.&lt;/p>
&lt;/div>
&lt;div class="paragraph">
&lt;p>In the previous post &lt;a href="https://www.martinahrer.at/code/tdd-for-infrastructure-footloose.html">TDD for infrastructure with footloose&lt;/a> I explored weaveworks&amp;#39; footloose to start containers that look like virtual machines.
Containers do no quite cope with the isolation that a real virtual machine can provide.
So in case we must use a real virtual machine we can go back to the approach with VirtualBox (or any other product) or investigate into other options.&lt;/p>
&lt;/div></description></item><item><title>TDD for infrastructure with footloose</title><link>https://www.martinahrer.at/2020/09/01/tdd-for-infrastructure-with-footloose/</link><pubDate>Tue, 01 Sep 2020 00:00:00 +0000</pubDate><guid>https://www.martinahrer.at/2020/09/01/tdd-for-infrastructure-with-footloose/</guid><description>&lt;div class="paragraph">
&lt;p>In the previous post &lt;a href="https://www.martinahrer.at/code/tdd-for-infrastructure-vagrant.html">TDD for infrastructure with Vagrant&lt;/a> I explored Vagrant, VirtualBox and Chef Inspec for implementing a simple workflow for test driven development of infrastructure code.
I showed that using virtual machines as target machines for testing is just not fast enough and probably hard to run in a build environment.&lt;/p>
&lt;/div></description></item><item><title>TDD for infrastructure with Vagrant</title><link>https://www.martinahrer.at/2020/08/01/tdd-for-infrastructure-with-vagrant/</link><pubDate>Sat, 01 Aug 2020 00:00:00 +0000</pubDate><guid>https://www.martinahrer.at/2020/08/01/tdd-for-infrastructure-with-vagrant/</guid><description>&lt;div class="sect1">
&lt;h2 id="_introduction">Introduction&lt;/h2>
&lt;div class="sectionbody">
&lt;div class="paragraph">
&lt;p>For many years (almost decades) developers have been practicing &lt;a href="https://en.wikipedia.org/wiki/Test-driven_development">test driven development&lt;/a> and write tests to get confidence that their code works.&lt;/p>
&lt;/div>
&lt;div class="imageblock">
&lt;div class="content">
&lt;img src="https://www.martinahrer.at/assets/tdd-for-infrastructure/application-test.png" alt="application test" width="100%" height="100%"/>
&lt;/div>
&lt;/div>
&lt;div class="paragraph">
&lt;p>However, with the rise of infrastructure as code where DevOps engineers try to describe infrastructure provisioning using code, this is something that is not observed generally.
In many situations I have encountered infrastructure that&lt;/p>
&lt;/div></description></item></channel></rss>