DEV Community

Working Code

065: TDD In the Trenches with Scott Stroz

Sponsors

Testing code is like taking out insurance: until you need it, it can be hard to understand why it's so important; it can be hard to understand what everyone is raving about. And so, you continue writing your code without tests. And, everything is fine, until one day it isn't. And in that moment, you finally see for yourself what value automated testing could have brought to the table.

On today's show, the crew talks to Scott Stroz about his experience with Test Driven Development (TDD); and, about how he has come to understand that testing makes possible what would have otherwise been impossible. With solid testing practices in place, Scott was able to refactor an exceedingly convoluted intake form that rendered 25 buttons, 6 unique workflows, and took the user through up to 28 steps. Crunch those numbers and try telling me that the chance of making a mistake isn't absolute. And yet, thanks to a rigorous test-first coding methodology, Scott was able to completely refactor this workflow - from the ground-up - and delivery it on-time and without error!

Notes & Links

Follow the show and be sure to join the discussion on Discord! Our website is workingcode.dev and we're @WorkingCodePod on Twitter and Instagram. New episodes drop weekly on Wednesday.

And, if you're feeling the lovesupport us on Patreon.

With audio editing and engineering by ZCross Media.

Episode source