Pulling the Strings

Podcast: Test-Driven Development


Listen Later

In this edition of the Puppet Podcast, hosts Kara and Kent sat down with Gareth Rushgrove, Puppet Labs software engineer, to talk about Test Driven Development (TDD). This podcast is especially helpful to those who are new to TDD: the process of writing tests first, then writing enough code to pass the test and finally refactoring the code to make it better.

Gareth shares how he uses Test Driven Development and why he’s found it a compelling way to write code. He says, “Tests help you move quickly and not break functionality.” He encourages those new to TDD to jump in and write their first test. He explains,“Writing the first test is the hardest, but once you’ve gotten one test in, you can replicate that to different modules very easily.”

Gareth recommends reading the code of modules that have test suites, such as garethr-docker and other Puppet Approved modules and to join the puppet-users mailing list if you’re just starting out writing tests. Be sure to check out the Learn More section below for even more resources.

Want to know which tests to write, which tools and frameworks he recommends for different testing situations, how to get started with TDD, and more? Listen in!

If you enjoyed this podcast, you should check out our podcast page for more great discussions, or subscribe in your favorite podcast tool.

Don’t forget to email us at [email protected] - we’d love to hear about future podcasts ideas or questions you have.

Learn More
  • Gareth’s PuppetConf 2014 talk on TDD
  • Listen to other Puppet Podcasts
  • Join the Puppet community!
  • ...more
    View all episodesView all episodes
    Download on the App Store

    Pulling the StringsBy Puppet

    • 4.8
    • 4.8
    • 4.8
    • 4.8
    • 4.8

    4.8

    5 ratings