{"id":4447,"date":"2015-11-02T10:26:02","date_gmt":"2015-11-02T15:26:02","guid":{"rendered":"https:\/\/2015.us.wordcamp.org\/?post_type=wcb_session&#038;p=4447"},"modified":"2015-11-04T17:28:19","modified_gmt":"2015-11-04T22:28:19","slug":"introduction-to-wordpress-unit-testing","status":"publish","type":"wcb_session","link":"https:\/\/us.wordcamp.org\/2015\/session\/introduction-to-wordpress-unit-testing\/","title":{"rendered":"Introduction to WordPress unit testing"},"content":{"rendered":"<p>&#8220;But this worked the other day!&#8221;<\/p>\n<p>We&#8217;ve all had those moments (maybe you even had one today). It&#8217;s so frustrating when things that used to work break. Sometimes, you feel a bit silly. Other times, you&#8217;re ready to flip a table.<\/p>\n<p>Well, put that table back down! <\/p>\n<p>Let unit testing save you from this nightmare. It&#8217;s a lot like coding with a safety net (or body armor if that&#8217;s how you roll). It lets you go a bit crazy while minimizing repercussions (as long as the police don&#8217;t show up). <\/p>\n<p>Want to try something new? No worries! It&#8217;ll let you know if something isn&#8217;t working as it should. That&#8217;s how most paid plugins maintain a high level of quality over the years.<\/p>\n<p>If that sounds good to you, then you&#8217;ll love this talk. We&#8217;ll go over what unit testing is and its benefits. We&#8217;ll also look at how to get you started and how to write your first test. <\/p>\n<p>You&#8217;ll be on your way to testing godhood in no time. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#8220;But this worked the other day!&#8221; We&#8217;ve all had those moments (maybe you even had one today). It&#8217;s so frustrating when things that used to work break. Sometimes, you feel a bit silly. Other times, you&#8217;re ready to flip a &hellip; <a href=\"https:\/\/us.wordcamp.org\/2015\/session\/introduction-to-wordpress-unit-testing\/\">Continue reading <span class=\"assistive-text\">Introduction to WordPress unit testing<\/span>  <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":7673567,"featured_media":0,"template":"","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"jetpack_post_was_ever_published":false,"_wcpt_session_time":1449266700,"_wcpt_session_duration":3000,"_wcpt_session_type":"session","_wcpt_session_slides":"","_wcpt_session_video":"","_wcpt_speaker_id":[4119],"footnotes":""},"session_track":[446658],"session_category":[],"class_list":["post-4447","wcb_session","type-wcb_session","status-publish","hentry","wcb_track-track-a"],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p6wOEx-19J","session_date_time":{"date":"December 4, 2015","time":"5:05 pm"},"session_speakers":[{"id":"4119","slug":"carl-alexander","name":"Carl Alexander","link":"https:\/\/us.wordcamp.org\/2015\/speaker\/carl-alexander\/"}],"session_cats_rendered":null,"_links":{"self":[{"href":"https:\/\/us.wordcamp.org\/2015\/wp-json\/wp\/v2\/sessions\/4447","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/us.wordcamp.org\/2015\/wp-json\/wp\/v2\/sessions"}],"about":[{"href":"https:\/\/us.wordcamp.org\/2015\/wp-json\/wp\/v2\/types\/wcb_session"}],"author":[{"embeddable":true,"href":"https:\/\/us.wordcamp.org\/2015\/wp-json\/wp\/v2\/users\/7673567"}],"version-history":[{"count":1,"href":"https:\/\/us.wordcamp.org\/2015\/wp-json\/wp\/v2\/sessions\/4447\/revisions"}],"predecessor-version":[{"id":4453,"href":"https:\/\/us.wordcamp.org\/2015\/wp-json\/wp\/v2\/sessions\/4447\/revisions\/4453"}],"speakers":[{"embeddable":true,"href":"https:\/\/us.wordcamp.org\/2015\/wp-json\/wp\/v2\/speakers\/4119"}],"wp:attachment":[{"href":"https:\/\/us.wordcamp.org\/2015\/wp-json\/wp\/v2\/media?parent=4447"}],"wp:term":[{"taxonomy":"wcb_track","embeddable":true,"href":"https:\/\/us.wordcamp.org\/2015\/wp-json\/wp\/v2\/session_track?post=4447"},{"taxonomy":"wcb_session_category","embeddable":true,"href":"https:\/\/us.wordcamp.org\/2015\/wp-json\/wp\/v2\/session_category?post=4447"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}