“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).
Want to try something new? No worries! It’ll let you know if something isn’t working as it should. That’s how most paid plugins maintain a high level of quality over the years.
If that sounds good to you, then you’ll love this talk. We’ll go over what unit testing is and its benefits. We’ll also look at how to get you started and how to write your first test.
- Explore the concepts behind unit testing.
- Understand the benefits of unit testing.
- Install PHP unit test libraries.
- Write a unit test for a WordPress plugin.
- Run your plugin unit test suite.