Loading…
This event has ended. Visit the official site or create your own event on Sched.
Venue Map: Click here
View analytic
Thursday, October 12 • 3:15pm - 4:00pm
Test-First Approach for Puppet on Windows – Miro Sommer, Hiscox

Sign up or log in to save this to your schedule and see who's attending!

Feedback form is now closed.
How to apply Test Driven Development (TDD) and Behavior Driven Development (BDD) techniques for Puppet modules? Usually, first comes the module code and then tests, but sometimes there are tests without value just for the sake of testing, or there are no tests at all. This causes problems when someone who isn't familiar with the code has to make changes and has no confidence that the code would still work. We can prevent these issues by using test-first approach with TDD or BDD to ensure that the code is always tested and we write the right tests. This session will give you practical steps to write tests first, as well as an overview and benefits of TDD and BDD techniques. We'll talk about how to write RSpec unit tests before there is any Puppet code written. We'll also look into Test Kitchen and how to write integration tests based purely on acceptance criteria of a work task, with a focus on testing Puppet modules on Windows using the latest and greatest PowerShell BDD testing library, Pester.

Speakers
avatar for Miro Sommer

Miro Sommer

DevOps Engineer, Hiscox
Miro was born in Czech Republic, got into programming at 15, graduated from Palacky University with an MSc degree in Computer Science and Maths at 24, worked as a freelancer software developer and team lead, and moved to the UK at 27 as a senior software developer and team lead. His... Read More →


Thursday October 12, 2017 3:15pm - 4:00pm
Track 6: Continental Ballroom - Parlor 1-3