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 code on Gitpod

Keywords

Test data providers, Parameterized tests, AsRef trait, Macros

Things I mentioned during the show

Resources and licenses

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 supporting me on Patreon - no matter the amount. ❤️