{"id":1703,"date":"2015-06-04T09:00:08","date_gmt":"2015-06-04T16:00:08","guid":{"rendered":"https:\/\/2015.oc.wordcamp.org\/?p=1703"},"modified":"2015-06-04T18:56:12","modified_gmt":"2015-06-05T01:56:12","slug":"session-spotlight-a-tale-of-two-test-suites-with-eric-mann","status":"publish","type":"post","link":"https:\/\/oc.wordcamp.org\/2015\/session-spotlight-a-tale-of-two-test-suites-with-eric-mann\/","title":{"rendered":"Session Spotlight: A Tale of Two Test Suites with Eric Mann"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignright\" src=\"https:\/\/1.gravatar.com\/avatar\/46093583d8895095adb1b0071c505af2?s=96&amp;d=mm&amp;r=g\" alt=\"\" width=\"96\" height=\"96\" \/>Join Eric Mann at 10 AM on Sunday, June 7 in the Salt Creek Trail room for his talk\u00a0<em>A Tale of Two Test Suites.<\/em><\/p>\n<p>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.<\/p>\n<p>He&#8217;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.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Join Eric Mann at 10 AM on Sunday, June 7 in the Salt Creek Trail room for his talk\u00a0A 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, &hellip; <a href=\"https:\/\/oc.wordcamp.org\/2015\/session-spotlight-a-tale-of-two-test-suites-with-eric-mann\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Session Spotlight: A Tale of Two Test Suites with Eric Mann<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":11456218,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[168,29],"tags":[5041,497544,9451],"class_list":["post-1703","post","type-post","status-publish","format-standard","hentry","category-sessions","category-speakers","tag-developer","tag-eric-mann","tag-test"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p5oCTL-rt","_links":{"self":[{"href":"https:\/\/oc.wordcamp.org\/2015\/wp-json\/wp\/v2\/posts\/1703","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/oc.wordcamp.org\/2015\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/oc.wordcamp.org\/2015\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/oc.wordcamp.org\/2015\/wp-json\/wp\/v2\/users\/11456218"}],"replies":[{"embeddable":true,"href":"https:\/\/oc.wordcamp.org\/2015\/wp-json\/wp\/v2\/comments?post=1703"}],"version-history":[{"count":1,"href":"https:\/\/oc.wordcamp.org\/2015\/wp-json\/wp\/v2\/posts\/1703\/revisions"}],"predecessor-version":[{"id":1705,"href":"https:\/\/oc.wordcamp.org\/2015\/wp-json\/wp\/v2\/posts\/1703\/revisions\/1705"}],"wp:attachment":[{"href":"https:\/\/oc.wordcamp.org\/2015\/wp-json\/wp\/v2\/media?parent=1703"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/oc.wordcamp.org\/2015\/wp-json\/wp\/v2\/categories?post=1703"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/oc.wordcamp.org\/2015\/wp-json\/wp\/v2\/tags?post=1703"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}