These are the slides from a talk given at WordCamp Toronto 2015.
“But this worked the other day!” We’ve all had those moments (maybe you even had one today). It’s so frustrating when things that used to work break. Sometimes, you feel a bit silly. Other times, you’re ready to flip a table. Well, put that table back down!
Let unit testing save you from this nightmare. It’s a lot like coding with a safety net (or body armor if that’s how you roll). It lets you go a bit crazy while minimizing repercussions (as long as the police don’t show up).
You can read the companion article at: https://carlalexander.ca/introduction-wordpress-unit-testing