Test-Driven Development by Example, Using PowerShell

Devin Gleason-Lambert
2 min readJan 19, 2021
Test-Driven Development By Example. By Kent Beck

Hello All,

This is my first entry in a series of book reviews of the book Test-Driven Development by Example, written by Kent Beck. However I’ve added a twist, as I will be attempting to do the examples using Powershell.

A little background; I’m a classically trained C# developer, where Object Orientation and Unit Testing are considered first class citizens. I also lead a small team of developers; we are a Solution Architect, a Senior Web Developer, a DevOps Engineer, and an Automation Engineer. I regularly pick a programming text for us to read each quarter to read as a group to hone our skills. However the material can be a bit of a challenge given our heterogeneous nature.

As we wrap up on Clean Code by “Uncle” Bob Martin, I am starting to read ahead, searching for our next entry. So when I decided on Kent Beck’s TDD classic, I thought, it would be fun exercise to do TDD w/ Powershell. However as I start to notice some of the challenges of practicing TDD using Powershell, I decided to blog my experience in a series of articles. I will do my best to share my learnings with you as I progress.

I hope you enjoy!

Cheers,

Devin

Check out my next article in this series on Why you should be using TDD with DevOps (3 min): Test-Driven Development by Example, Using PowerShell — Preface & Introduction — Why you should be using TDD with your DevOps practice?

--

--