{"id":1361,"date":"2018-04-22T18:23:03","date_gmt":"2018-04-23T01:23:03","guid":{"rendered":"https:\/\/2018.oc.wordcamp.org\/?post_type=wcb_session&#038;p=1361"},"modified":"2018-06-06T07:19:50","modified_gmt":"2018-06-06T14:19:50","slug":"functional-testing-simplified-using-behat-with-wordpress","status":"publish","type":"wcb_session","link":"https:\/\/oc.wordcamp.org\/2018\/session\/functional-testing-simplified-using-behat-with-wordpress\/","title":{"rendered":"Functional Testing Simplified: Using Behat with WordPress"},"content":{"rendered":"<p>WordPress sites are being asked to do more and more complex tasks. What used to be purely a blogging platform is now being used for e-commerce, breaking news, online magazine publishing and more. The question arises, after a site is released, how do we insure that new features don&#8217;t break existing features? Further, how do we make sure that new processes don&#8217;t make development too cumbersome? Enter Behat, a behavior driven testing framework and it&#8217;s WordPress specific implementation: WordHat. Using simple, story driven language, Behat makes writing tests simple. I&#8217;ll talk about how WordHat can be used to implement simple functional automated testing on your complex WordPress sites.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>WordPress sites are being asked to do more and more complex tasks. What used to be purely a blogging platform is now being used for e-commerce, breaking news, online magazine publishing and more. The question arises, after a site is released, how do we insure that new features don&#8217;t break existing features? Further, how do &hellip; <a href=\"https:\/\/oc.wordcamp.org\/2018\/session\/functional-testing-simplified-using-behat-with-wordpress\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Functional Testing Simplified: Using Behat with WordPress<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":535619,"featured_media":0,"template":"","meta":{"_crdt_document":"","jetpack_post_was_ever_published":false,"_wcpt_session_time":1528653000,"_wcpt_session_duration":3000,"_wcpt_session_type":"session","_wcpt_session_slides":"","_wcpt_session_video":"","_wcpt_speaker_id":[1221],"footnotes":""},"session_track":[1247952],"session_category":[5041],"class_list":["post-1361","wcb_session","type-wcb_session","status-publish","hentry","wcb_track-venture","wcb_session_category-developer"],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9umRw-lX","session_date_time":{"date":"June 10, 2018","time":"10:50 am"},"session_speakers":[{"id":"1221","slug":"erik-mathy","name":"Erik Mathy","link":"https:\/\/oc.wordcamp.org\/2018\/speaker\/erik-mathy\/"}],"session_cats_rendered":"Developer","_links":{"self":[{"href":"https:\/\/oc.wordcamp.org\/2018\/wp-json\/wp\/v2\/sessions\/1361","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/oc.wordcamp.org\/2018\/wp-json\/wp\/v2\/sessions"}],"about":[{"href":"https:\/\/oc.wordcamp.org\/2018\/wp-json\/wp\/v2\/types\/wcb_session"}],"author":[{"embeddable":true,"href":"https:\/\/oc.wordcamp.org\/2018\/wp-json\/wp\/v2\/users\/535619"}],"version-history":[{"count":1,"href":"https:\/\/oc.wordcamp.org\/2018\/wp-json\/wp\/v2\/sessions\/1361\/revisions"}],"predecessor-version":[{"id":1362,"href":"https:\/\/oc.wordcamp.org\/2018\/wp-json\/wp\/v2\/sessions\/1361\/revisions\/1362"}],"speakers":[{"embeddable":true,"href":"https:\/\/oc.wordcamp.org\/2018\/wp-json\/wp\/v2\/speakers\/1221"}],"wp:attachment":[{"href":"https:\/\/oc.wordcamp.org\/2018\/wp-json\/wp\/v2\/media?parent=1361"}],"wp:term":[{"taxonomy":"wcb_track","embeddable":true,"href":"https:\/\/oc.wordcamp.org\/2018\/wp-json\/wp\/v2\/session_track?post=1361"},{"taxonomy":"wcb_session_category","embeddable":true,"href":"https:\/\/oc.wordcamp.org\/2018\/wp-json\/wp\/v2\/session_category?post=1361"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}