{"id":1921,"date":"2019-04-26T14:52:32","date_gmt":"2019-04-26T13:52:32","guid":{"rendered":"https:\/\/2019.lisboa.wordcamp.org\/?post_type=wcb_session&#038;p=1921"},"modified":"2019-05-07T17:34:57","modified_gmt":"2019-05-07T16:34:57","slug":"testing-components-with-react-testing-library","status":"publish","type":"wcb_session","link":"https:\/\/lisboa.wordcamp.org\/2019\/session\/testing-components-with-react-testing-library\/","title":{"rendered":"Testing components with react-testing-library"},"content":{"rendered":"\n<p>Frontend test automation seems hard but it&#8217;s only as hard as you make it. Are you bogged down by endless component tests and still not sure your application won&#8217;t break? Let&#8217;s hear the advantages of testing your frontend from the perspective of the people using it, and bust some myths about unit testing and the supposed convenience of shallow component rendering.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Frontend test automation seems hard but it&#8217;s only as hard as you make it. Are you bogged down by endless component tests and still not sure your application won&#8217;t break? Let&#8217;s hear the advantages of testing your frontend from the perspective of the people using it, and bust some myths about unit testing and the &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/lisboa.wordcamp.org\/2019\/session\/testing-components-with-react-testing-library\/\" class=\"more-link\">Continuar a ler <span class=\"screen-reader-text\">&#8220;Testing components with react-testing-library&#8221;<\/span><\/a><\/p>\n","protected":false},"author":4057901,"featured_media":0,"template":"","meta":{"jetpack_post_was_ever_published":false,"_wcpt_session_time":1558193400,"_wcpt_session_duration":3000,"_wcpt_session_type":"session","_wcpt_session_slides":"","_wcpt_session_video":"","_wcpt_speaker_id":[1724],"footnotes":""},"session_track":[1277737],"session_category":[20749,502936],"class_list":["post-1921","wcb_session","type-wcb_session","status-publish","hentry","wcb_track-auditorio-b103","wcb_session_category-desenvolvimento","wcb_session_category-english","entry"],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pa3kPU-uZ","session_date_time":{"date":"18 de Maio de 2019","time":"16:30"},"session_speakers":[{"id":"1724","slug":"luis-rodrigues","name":"Lu\u00eds Rodrigues","link":"https:\/\/lisboa.wordcamp.org\/2019\/speaker\/luis-rodrigues\/"}],"session_cats_rendered":"Desenvolvimento, English","_links":{"self":[{"href":"https:\/\/lisboa.wordcamp.org\/2019\/wp-json\/wp\/v2\/sessions\/1921","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lisboa.wordcamp.org\/2019\/wp-json\/wp\/v2\/sessions"}],"about":[{"href":"https:\/\/lisboa.wordcamp.org\/2019\/wp-json\/wp\/v2\/types\/wcb_session"}],"version-history":[{"count":2,"href":"https:\/\/lisboa.wordcamp.org\/2019\/wp-json\/wp\/v2\/sessions\/1921\/revisions"}],"predecessor-version":[{"id":2176,"href":"https:\/\/lisboa.wordcamp.org\/2019\/wp-json\/wp\/v2\/sessions\/1921\/revisions\/2176"}],"speakers":[{"embeddable":true,"href":"https:\/\/lisboa.wordcamp.org\/2019\/wp-json\/wp\/v2\/speakers\/1724"}],"author":[{"embeddable":true,"href":"https:\/\/lisboa.wordcamp.org\/2019\/wp-json\/wporg\/v1\/users\/goblindegook"}],"wp:attachment":[{"href":"https:\/\/lisboa.wordcamp.org\/2019\/wp-json\/wp\/v2\/media?parent=1921"}],"wp:term":[{"taxonomy":"wcb_track","embeddable":true,"href":"https:\/\/lisboa.wordcamp.org\/2019\/wp-json\/wp\/v2\/session_track?post=1921"},{"taxonomy":"wcb_session_category","embeddable":true,"href":"https:\/\/lisboa.wordcamp.org\/2019\/wp-json\/wp\/v2\/session_category?post=1921"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}