{"id":3946,"date":"2025-03-12T17:38:58","date_gmt":"2025-03-12T16:38:58","guid":{"rendered":"https:\/\/vienna.wordcamp.org\/2025\/?post_type=wcb_session&#038;p=3946"},"modified":"2025-03-12T17:45:02","modified_gmt":"2025-03-12T16:45:02","slug":"test-plugin-get-hands-on-experience","status":"publish","type":"wcb_session","link":"https:\/\/vienna.wordcamp.org\/2025\/session\/test-plugin-get-hands-on-experience\/","title":{"rendered":"[EN] Test plugin: get hands on experience"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Working on a plugin for a long time and maintaining the quality is a complex topic.<br>Automated tests are a great way to achieve this objective.<br>However, even if effective testing is a way more effective than integral manual testing, no test is better than bad automated tests.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In this workshop, we&#8217;re gonna create a simple workflow to start developing with tests and keep you out of the beginner traps while testing.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For that, we will learn:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>how to quickly create a development environment using @\u200cwordpress\/env.<\/li>\n\n\n\n<li>how to track expectations about your plugin.<\/li>\n\n\n\n<li>how to implement these expectations using integration testing.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">All of this to test together a small plugin using some common use cases you will face for sure during your WordPress developer life.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So if you want your first experience with automating tests to be a good one feel free to attempt this workshop.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Working on a plugin for a long time and maintaining the quality is a complex topic.Automated tests are a great way to achieve this objective.However, even if effective testing is a way more effective than integral manual testing, no test is better than bad automated tests. In this workshop, we&#8217;re gonna create a simple workflow &hellip; <a href=\"https:\/\/vienna.wordcamp.org\/2025\/session\/test-plugin-get-hands-on-experience\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;[EN] Test plugin: get hands on experience&#8221;<\/span><\/a><\/p>\n","protected":false},"author":18097748,"featured_media":0,"template":"","meta":{"_crdt_document":"","_wcpt_session_time":1745589600,"_wcpt_session_duration":3000,"_wcpt_session_type":"session","_wcpt_session_slides":"","_wcpt_session_video":"","_wcpt_speaker_id":[3587],"footnotes":""},"session_track":[32],"session_category":[],"class_list":["post-3946","wcb_session","type-wcb_session","status-publish","hentry","wcb_track-workshop-dev"],"jetpack_sharing_enabled":true,"session_date_time":{"date":"April 25, 2025","time":"16:00"},"session_speakers":[{"id":"3587","slug":"cyrille-coquard","name":"Cyrille COQUARD","link":"https:\/\/vienna.wordcamp.org\/2025\/speaker\/cyrille-coquard\/"}],"session_cats_rendered":null,"_links":{"self":[{"href":"https:\/\/vienna.wordcamp.org\/2025\/wp-json\/wp\/v2\/sessions\/3946","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vienna.wordcamp.org\/2025\/wp-json\/wp\/v2\/sessions"}],"about":[{"href":"https:\/\/vienna.wordcamp.org\/2025\/wp-json\/wp\/v2\/types\/wcb_session"}],"version-history":[{"count":2,"href":"https:\/\/vienna.wordcamp.org\/2025\/wp-json\/wp\/v2\/sessions\/3946\/revisions"}],"predecessor-version":[{"id":3948,"href":"https:\/\/vienna.wordcamp.org\/2025\/wp-json\/wp\/v2\/sessions\/3946\/revisions\/3948"}],"speakers":[{"embeddable":true,"href":"https:\/\/vienna.wordcamp.org\/2025\/wp-json\/wp\/v2\/speakers\/3587"}],"author":[{"embeddable":true,"href":"https:\/\/vienna.wordcamp.org\/2025\/wp-json\/wporg\/v1\/users\/coquardcyr"}],"wp:attachment":[{"href":"https:\/\/vienna.wordcamp.org\/2025\/wp-json\/wp\/v2\/media?parent=3946"}],"wp:term":[{"taxonomy":"wcb_track","embeddable":true,"href":"https:\/\/vienna.wordcamp.org\/2025\/wp-json\/wp\/v2\/session_track?post=3946"},{"taxonomy":"wcb_session_category","embeddable":true,"href":"https:\/\/vienna.wordcamp.org\/2025\/wp-json\/wp\/v2\/session_category?post=3946"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}