4–7 Nov 2019
Please log in

Test-driven development (TDD) for infrastructure

Rosemary Wang (HashiCorp)
16:4517:25 Thursday, 7 November 2019
Location: Hall A4
Average rating: *****
(5.00, 2 ratings)

Who is this presentation for?

  • Infrastructure and security engineers




In software development, TDD is the process of writing tests and then developing functionality to pass the tests. With TDD, only necessary functionality is implemented, cleaner code can be developed, and tests can be used as documentation for how something should work. But to do this, you need to know how to apply TDD to infrastructure and see if you realize the same benefits.

Rosemary Wang provides some TDD basics, applies and adapts TDD to deploying and configuring infrastructure, details how different infrastructure resources can affect your approach, outlines limits to TDD for infrastructure, and dives into some benefits to writing infrastructure tests before implementation.

Prerequisite knowledge

  • General knowledge of infrastructure as code, cloud and cloud native infrastructure, and testing and types of testing

What you'll learn

  • Learn the basics of TDD, testing techniques for infrastructure, applying TDD to infrastructure as code, and using TDD to address security concerns
Photo of Rosemary Wang

Rosemary Wang


Rosemary Wang is a developer advocate for HashiCorp. She interfaces with users and partners to find creative open source solutions for infrastructure. An infrastructure automation explorer and cloud enthusiast, Rosemary works to bridge the technical and cultural barriers between infrastructure engineers and application developers. She has a talent for solving intractable problems with code, whether this means helping an infrastructure engineer learn to code or an application developer troubleshoot infrastructure failures. When Rosemary isn’t drawing on whiteboards, she valiantly attempts to hack stacks of various infrastructure systems on her laptop while foraging for tasty victuals (especially pizza) around the world.

Comments on this page are now closed.


Picture of Julia Biro
Julia Biro | Reliability Engineer
8/11/2019 17:21 CET

This has been really useful, and expertly presented, thank you!

  • Oracle Cloud Infrastructure
  • Cloudflare
  • JFrog
  • Akamas
  • Aqua Security Software
  • Fastly
  • Google
  • Instana
  • JetBrains
  • LaunchDarkly
  • LightStep
  • OVHcloud
  • SignalFx
  • VictorOps
  • Wayfair
  • Blameless
  • Chronosphere
  • FusionReactor
  • humanitec
  • replex GmbH
  • StackState
  • Datadog
  • GitLab
  • Gremlin
  • StormForger
  • SysEleven GmgH
  • Vamp.io

Contact us


For conference registration information and customer service


For more information on community discounts and trade opportunities with O’Reilly conferences


For information on exhibiting or sponsoring a conference


For media/analyst press inquires