Welcome back to the Golang series on The Engineering Coach! In this episode, we're taking our TDD skills to the next level by introducing Testify, a popular and powerful toolkit that extends Golang's core testing functionality.
We'll continue to follow the strict "Red, Green, Refactor" rules of Test-Driven Development as we build a Stack abstract data type. You'll see how Testify's assertion and mocking features can simplify your test code and make your tests more expressive and readable.
If you've been writing tests in Golang and want to write them faster and with more confidence, this video is for you.
The code for this episode can be found on GitHub: https://github.com/testingallthething...
Previous in the Series:
If you missed our introduction to TDD in Golang, check out our first video:
👉 Watch the video on TDD in Golang here: • TDD in Golang: Building a Stack from Scratch
The Jetbrains Goland IDE templates can be found here:
Suite - https://gist.github.com/braddle/a89dc...
Test - https://gist.github.com/braddle/f728d...
Setup - https://gist.github.com/braddle/7d463...
Let's Connect
For more software engineering tutorials and coaching, subscribe to The Engineering Coach on YouTube. You can also connect with me on Bluesky or Mastodon.
Mastodon: https://mastodon.social/@braddle
Bluesky: https://bsky.app/profile/braddle1.bsk...
LinkedIn: / mark-bradley-engineering-coach
#Golang #GoLang #Testify #TDD #TestDrivenDevelopment #SoftwareEngineering #TheEngineeringCoach #CodingCoach