Last week, guest speaker Robb Schiefer presented a session on “TDD with Chef, DSC, and Pester on Windows” for our July 2017 Mississippi PowerShell User Group Meeting.
Configuration management is currently all the rage in the DevOps space right now but few are investing in the quality of their configuration code like they do with application code. Yet, all the same benefits apply resulting in a faster feedback loop and ultimately cost/time savings. In this session we will cover how to develop Chef cookbooks (with DSC resources) by writing rspec/Pester tests first. We will review how the red-green-red-green process ensures we have valid and useful tests. For good measure we will also show how mocking works to help isolate your tests. In addition to simple “hello world” demos we will also demo the real-world Chef cookbooks we wrote for our custom order processing system. Chef, Kitchen, rspec, PowerShell, DSC and Pester make for a power combination when used together to write tests which drive the development of your configuration code. Come hear how we use this stack of tools to write our configuration code at EBSCO with high quality.
The video from that presentation is now available.
Robb Schiefer is a Solution Architect for EBSCO Industries, a global company with businesses in Information Services and a wide range of industries headquartered in Birmingham, Alabama. Robb has a passion for improving the speed of value delivery to customers, works with agile development teams to design/build well architected solutions and evangelizes DevOps practices to anyone who will listen (and some that won’t). He is a co-founder of the Birmingham .NET Meetup in Birmingham, AL. Beyond the joys of software development, he enjoys family time, church, blogging and long walks on the beach.
The Mississippi PowerShell User Group Meetings are held online (via Skype for Business) on the second Tuesday of each month at 8:30pm Central Time and are free to attend. The system requirements to attend these online meetings can be found on the MSPSUG website under the “Attendee Info” section.