‘test frameworks’ Videos

  • Eric Mann: A Tale of Two Test Suites

    WordCamp Orange County 2015Speaker: Eric Mann

    January 4, 2016 — WordPress powers over 20% of the Internet and comes with a fully-fleshed out unit testing framework covering the core library. For testing plugins and themes (extensions to WordPress), I developed WP_Mock, a comprehensive mocking framework for WordPress. WP_Mock allows developers to test their code in complete isolation from WordPress itself.

    I’ll walk attendees through both test frameworks, covering the pros/cons of each and examples of their use. Attendees will gain a further understanding of PHPUnit, unit testing in general, process isolation, and code modularization.