Session Spotlight: A Tale of Two Test Suites with Eric Mann

Join Eric Mann at 10 AM on Sunday, June 7 in the Salt Creek Trail room for his talk A Tale of Two Test Suites.

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), Josh developed WP_Mock, a comprehensive mocking framework for WordPress. WP_Mock allows developers to test their code in complete isolation from WordPress itself.

He’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.