Learning out Loud in Milwaukee, WI

Tag: testing

  • Writing Integration tests in WordPress

    Integration testing, like unit testing, is a best practice with the goal of evaluating a piece of software’s ability to interface with the rest of a system. Earlier I elaborated on the distinction between integration and unit testing and I won’t repeat myself here. Instead I’ll briefly expand our definition of integration test and demonstrate how to…

  • Writing Unit Tests for WordPress

    This post and others like it still get a strange amount of traffic. It’s worth noting the details here are out of date and I won’t be keeping it up. Use at your own risk! In my last post I wrote about two testing libraries for WordPress and briefly discussed the difference between integration tests…

  • Why Unit Testing in WordPress Matters

    Testing WordPress has become a favorite topic of mine lately: moving away from hitting refresh and toward something more holistic, reliable, and automatable. I’ve written before about a testing method called called browser testing, which verifies a webpage has some expected behavior. These kinds of tests are great but they’re not perfect. They require a…