{"id":1517,"date":"2020-03-02T23:33:50","date_gmt":"2020-03-03T04:33:50","guid":{"rendered":"https:\/\/2020.dc.wordcamp.org\/?post_type=wcb_session&#038;p=1517"},"modified":"2020-03-02T23:33:51","modified_gmt":"2020-03-03T04:33:51","slug":"testing-for-the-lazy","status":"publish","type":"wcb_session","link":"https:\/\/dc.wordcamp.org\/2020\/session\/testing-for-the-lazy\/","title":{"rendered":"Testing for the Lazy"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">We all know we should test our code. But the keyword is &#8220;should&#8221;. Budgets and hours are limited, and the thought of changing your routine or having to learn yet another system or two can make it too easy to ignore. It doesn&#8217;t have to be that way. Modern software testing &#8211; from unit tests, to integration tests, to browser tests &#8211; can be heavily automated, save you time, and give you (and your clients and project managers) confidence that Your Code Works. In this talk we&#8217;ll go over the different types of testing, get into the details of how you can get started with WordPress unit testing with WP-CLI and PHPUnit right away, and discuss where to go from there, from integrating tests into your Github repositories to setting up automated deployments.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We all know we should test our code. But the keyword is &#8220;should&#8221;. Budgets and hours are limited, and the thought of changing your routine or having to learn yet another system or two can make it too easy to ignore. It doesn&#8217;t have to be that way. Modern software testing &#8211; from unit tests, &hellip; <a href=\"https:\/\/dc.wordcamp.org\/2020\/session\/testing-for-the-lazy\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Testing for the Lazy&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1350309,"featured_media":0,"template":"","meta":{"_crdt_document":"","jetpack_post_was_ever_published":false,"_wcpt_session_time":1585400400,"_wcpt_session_duration":2400,"_wcpt_session_type":"session","_wcpt_session_slides":"","_wcpt_session_video":"","_wcpt_speaker_id":[1117],"footnotes":""},"session_track":[25],"session_category":[],"class_list":["post-1517","wcb_session","type-wcb_session","status-publish","hentry","wcb_track-track-2"],"jetpack_sharing_enabled":true,"session_date_time":{"date":"March 28, 2020","time":"9:00 am"},"session_speakers":[{"id":"1117","slug":"michael-dance","name":"Michael Dance","link":"https:\/\/dc.wordcamp.org\/2020\/speaker\/michael-dance\/"}],"session_cats_rendered":null,"_links":{"self":[{"href":"https:\/\/dc.wordcamp.org\/2020\/wp-json\/wp\/v2\/sessions\/1517","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dc.wordcamp.org\/2020\/wp-json\/wp\/v2\/sessions"}],"about":[{"href":"https:\/\/dc.wordcamp.org\/2020\/wp-json\/wp\/v2\/types\/wcb_session"}],"version-history":[{"count":1,"href":"https:\/\/dc.wordcamp.org\/2020\/wp-json\/wp\/v2\/sessions\/1517\/revisions"}],"predecessor-version":[{"id":1518,"href":"https:\/\/dc.wordcamp.org\/2020\/wp-json\/wp\/v2\/sessions\/1517\/revisions\/1518"}],"speakers":[{"embeddable":true,"href":"https:\/\/dc.wordcamp.org\/2020\/wp-json\/wp\/v2\/speakers\/1117"}],"author":[{"embeddable":true,"href":"https:\/\/dc.wordcamp.org\/2020\/wp-json\/wporg\/v1\/users\/seventhsteel"}],"wp:attachment":[{"href":"https:\/\/dc.wordcamp.org\/2020\/wp-json\/wp\/v2\/media?parent=1517"}],"wp:term":[{"taxonomy":"wcb_track","embeddable":true,"href":"https:\/\/dc.wordcamp.org\/2020\/wp-json\/wp\/v2\/session_track?post=1517"},{"taxonomy":"wcb_session_category","embeddable":true,"href":"https:\/\/dc.wordcamp.org\/2020\/wp-json\/wp\/v2\/session_category?post=1517"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}