Episode #6
Parameterized tests, macros, and refactoring
Let's fix a bug in my balanced brackets code and learn a few things about test organization and traits
There's some stuff to improve in my coding puzzle code from last time, balanced brackets. Can you spot the bug and fix it? I'll show you what's wrong and an idiomatic way to solve the problem.
▶ Run and edit the code on Gitpod
Keywords
Test data providers, Parameterized tests, AsRef trait, Macros
Things I mentioned during the show
Resources and licenses
- Comic suspense sound by tyops: https://freesound.org/people/tyops/sounds/347221/
- Background music: Juanitos - Hola_Hola_Bossa_Nova
Support!
Preparing, recording, and editing an episode takes a substantial amount of time (around 30 hours total). I do all of this next to my fulltime dayjob. If you want to show your appreciation and help me keep the content free for everybody to enjoy, please consider sponsoring me on Github - no matter the amount. ❤️