Testing WordPress Themes and Plugins with PHP Unit

In this session, one of our WordPress experts shares his knowledge of writing and running unit tests in WordPress.

“What is a unit test,” I hear you ask? A unit test is a way for programmers to validate that the code they’ve written is serving its intended purpose and producing the expected results. There are many ways to test code, and this way happens to be a very, very good one. Check out our blog for more information on the benefits of unit testing, and the role it might better play in your business.

John will give us the “whats” and “hows” for PHP unit testing on WordPress themes and plugins.

Topics Covered

  • Lessons Learned from Unit Testing
  • Getting Started with PHP Unit Tests
  • How to write testable code
  • Identifying hard-to-test scenarios and code
  • Writing your first Unit Test
  • And more!