{"id":2258,"date":"2023-05-22T09:31:41","date_gmt":"2023-05-22T09:31:41","guid":{"rendered":"https:\/\/www.infobip.com\/developers\/?p=2258"},"modified":"2023-09-11T14:29:05","modified_gmt":"2023-09-11T14:29:05","slug":"embrace-testing-in-production-with-paige-cruz","status":"publish","type":"post","link":"https:\/\/www.infobip.com\/developers\/blog\/embrace-testing-in-production-with-paige-cruz","title":{"rendered":"Embrace Testing in Production with Paige Cruz"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">In the world of software development, the journey from a pull request to a production rollout can be filled with surprises. Testing is important in this process, everyone agrees, but Paige has a different idea about when to test. As she says, &#8220;There is no place like production!.&#8221;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To kick the topic off in the face of her upcoming Shift Miami talk, Paige shared a story about how her deployment brought down production:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">After rolling back, I was able to uncover the SNAFU that occurred by inspecting each step of the journey from the original pull request to the production rollout. Surprise, surprise, there was a major difference between what was running in lower environments and what was running in production.&nbsp;&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For reasons I\u2019ll explain in the&nbsp;<a href=\"https:\/\/shift.infobip.com\/us\/\">talk at Shift Miami 2023.<\/a>&nbsp;\u2013 the major difference between environments was not immediately apparent to me or my pull request reviewers in the file I introduced the change, didn\u2019t raise any flags in the continuous integration testing phase, and had passed through lower environments with flying colors.&nbsp;<\/p>\n<\/blockquote>\n\n\n\n<h2 class=\"wp-block-heading\">Local development environments are just an approximation<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Paige emphasizes, &#8220;No matter how close of an approximation your local development environment is to production, it&#8217;s just that\u2014an approximation.&#8221; While testing in production may be regarded as a controversial practice, Paige argues that it doesn&#8217;t have to be a dirty word. In fact, she asserts that <strong>everyone tests in production, even if they won&#8217;t readily admit it.<\/strong> <\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\"> If you deploy a code change that passes all checks in local development, staging, and then encounter an unforeseen scenario in production that forces a rollback or feature flag toggle, then surprise! Production &#8216;tested&#8217; your code.<\/p>\n<\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">This illustrates the importance of considering the production environment as the ultimate arbiter of code reliability. While operators and Site Reliability Engineers (SREs) possess a good understanding of the differences between environments, including configuration and cloud components, Paige acknowledges that developers may struggle to discern such discrepancies. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">She humorously compares the task to playing the game of &#8220;Crow or No&#8221;: <\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">To the untrained eye \u2013 many black birds look like a crow or a raven.&nbsp;<\/p>\n<\/blockquote>\n\n\n\n<h2 class=\"wp-block-heading\">Embracing the Reality of Production<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">No matter how meticulously developers test in other environments, production will always hold surprises, Paige concludes. By embracing the reality of production, developers can enhance their code&#8217;s resilience and ensure a smoother rollout experience for their applications.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"> For a more detailed version of what happened when she broke production, and notes on the right and the wrong way of testing in production, catch Paige&#8217;s talk &#8220;There&#8217;s No Place Like Production&#8221; on <a href=\"https:\/\/shift.infobip.com\/us\/schedule\/\">Shift Miami<\/a>!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the world of software development, the journey from a pull request to a production rollout can be filled with surprises. Testing is important in this process, everyone agrees, but Paige has a different idea about when to test. As she says, &#8220;There is no place like production!.&#8221;<\/p>\n","protected":false},"author":9,"featured_media":2261,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_import_markdown_pro_load_document_selector":0,"_import_markdown_pro_submit_text_textarea":"","footnotes":""},"categories":[27,28,254,245],"tags":[257,31,202,75],"coauthors":[158],"class_list":["post-2258","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-announcement","category-blog-post","category-engineering-practices","category-infobip-events","tag-event","tag-infobip-shift","tag-qa","tag-testing"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Paige Cruz: Embrace testing in production!<\/title>\n<meta name=\"description\" content=\"In the world of software development, the journey from a pull request to a production rollout can be filled with surprises.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.infobip.com\/developers\/blog\/embrace-testing-in-production-with-paige-cruz\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Paige Cruz: Embrace testing in production!\" \/>\n<meta property=\"og:description\" content=\"In the world of software development, the journey from a pull request to a production rollout can be filled with surprises.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.infobip.com\/developers\/blog\/embrace-testing-in-production-with-paige-cruz\" \/>\n<meta property=\"og:site_name\" content=\"Infobip Developers Hub\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/infobip\/\" \/>\n<meta property=\"article:published_time\" content=\"2023-05-22T09:31:41+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-09-11T14:29:05+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.infobip.com\/developers\/wp-content\/uploads\/2023\/05\/Untitled-design-3.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"700\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Antonija Blic Arar\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@InfobipDev\" \/>\n<meta name=\"twitter:site\" content=\"@InfobipDev\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Antonija Blic Arar\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.infobip.com\/developers\/blog\/embrace-testing-in-production-with-paige-cruz#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.infobip.com\/developers\/blog\/embrace-testing-in-production-with-paige-cruz\"},\"author\":{\"name\":\"Antonija Blic Arar\",\"@id\":\"https:\/\/www.infobip.com\/developers\/#\/schema\/person\/814cec14bb89cce9a4de95d2080a3f7e\"},\"headline\":\"Embrace Testing in Production with Paige Cruz\",\"datePublished\":\"2023-05-22T09:31:41+00:00\",\"dateModified\":\"2023-09-11T14:29:05+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.infobip.com\/developers\/blog\/embrace-testing-in-production-with-paige-cruz\"},\"wordCount\":442,\"publisher\":{\"@id\":\"https:\/\/www.infobip.com\/developers\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.infobip.com\/developers\/blog\/embrace-testing-in-production-with-paige-cruz#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.infobip.com\/developers\/wp-content\/uploads\/2023\/05\/Untitled-design-3.png\",\"keywords\":[\"event\",\"Infobip Shift\",\"QA\",\"testing\"],\"articleSection\":[\"Announcement\",\"Blog Post\",\"Engineering Practices\",\"Infobip events\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.infobip.com\/developers\/blog\/embrace-testing-in-production-with-paige-cruz\",\"url\":\"https:\/\/www.infobip.com\/developers\/blog\/embrace-testing-in-production-with-paige-cruz\",\"name\":\"Paige Cruz: Embrace testing in production!\",\"isPartOf\":{\"@id\":\"https:\/\/www.infobip.com\/developers\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.infobip.com\/developers\/blog\/embrace-testing-in-production-with-paige-cruz#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.infobip.com\/developers\/blog\/embrace-testing-in-production-with-paige-cruz#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.infobip.com\/developers\/wp-content\/uploads\/2023\/05\/Untitled-design-3.png\",\"datePublished\":\"2023-05-22T09:31:41+00:00\",\"dateModified\":\"2023-09-11T14:29:05+00:00\",\"description\":\"In the world of software development, the journey from a pull request to a production rollout can be filled with surprises.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.infobip.com\/developers\/blog\/embrace-testing-in-production-with-paige-cruz#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.infobip.com\/developers\/blog\/embrace-testing-in-production-with-paige-cruz\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.infobip.com\/developers\/blog\/embrace-testing-in-production-with-paige-cruz#primaryimage\",\"url\":\"https:\/\/www.infobip.com\/developers\/wp-content\/uploads\/2023\/05\/Untitled-design-3.png\",\"contentUrl\":\"https:\/\/www.infobip.com\/developers\/wp-content\/uploads\/2023\/05\/Untitled-design-3.png\",\"width\":1200,\"height\":700},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.infobip.com\/developers\/blog\/embrace-testing-in-production-with-paige-cruz#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.infobip.com\/developers\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Embrace Testing in Production with Paige Cruz\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.infobip.com\/developers\/#website\",\"url\":\"https:\/\/www.infobip.com\/developers\/\",\"name\":\"Infobip Developers Hub\",\"description\":\"Build meaningful customer relationships across any channel\",\"publisher\":{\"@id\":\"https:\/\/www.infobip.com\/developers\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.infobip.com\/developers\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.infobip.com\/developers\/#organization\",\"name\":\"Infobip Developers Hub\",\"url\":\"https:\/\/www.infobip.com\/developers\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.infobip.com\/developers\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.infobip.com\/developers\/wp-content\/uploads\/2023\/03\/Infobip_logo_favicon.png\",\"contentUrl\":\"https:\/\/www.infobip.com\/developers\/wp-content\/uploads\/2023\/03\/Infobip_logo_favicon.png\",\"width\":696,\"height\":696,\"caption\":\"Infobip Developers Hub\"},\"image\":{\"@id\":\"https:\/\/www.infobip.com\/developers\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/infobip\/\",\"https:\/\/x.com\/InfobipDev\",\"https:\/\/www.youtube.com\/channel\/UCUPSTy53VecI5GIir3J3ZbQ\",\"https:\/\/github.com\/infobip-community\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.infobip.com\/developers\/#\/schema\/person\/814cec14bb89cce9a4de95d2080a3f7e\",\"name\":\"Antonija Blic Arar\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.infobip.com\/developers\/#\/schema\/person\/image\/4b1cd96f9707209206f2e491edf455d7\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/aaea85438d87f78df75e9aba6b08ebfcf0b984f254efa430a8cd7270991e4891?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/aaea85438d87f78df75e9aba6b08ebfcf0b984f254efa430a8cd7270991e4891?s=96&d=mm&r=g\",\"caption\":\"Antonija Blic Arar\"},\"description\":\"Antonija is a journalist writing about development, startups and growth.\",\"url\":\"https:\/\/www.infobip.com\/developers\/blog\/author\/antonija\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Paige Cruz: Embrace testing in production!","description":"In the world of software development, the journey from a pull request to a production rollout can be filled with surprises.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.infobip.com\/developers\/blog\/embrace-testing-in-production-with-paige-cruz","og_locale":"en_US","og_type":"article","og_title":"Paige Cruz: Embrace testing in production!","og_description":"In the world of software development, the journey from a pull request to a production rollout can be filled with surprises.","og_url":"https:\/\/www.infobip.com\/developers\/blog\/embrace-testing-in-production-with-paige-cruz","og_site_name":"Infobip Developers Hub","article_publisher":"https:\/\/www.facebook.com\/infobip\/","article_published_time":"2023-05-22T09:31:41+00:00","article_modified_time":"2023-09-11T14:29:05+00:00","og_image":[{"width":1200,"height":700,"url":"https:\/\/www.infobip.com\/developers\/wp-content\/uploads\/2023\/05\/Untitled-design-3.png","type":"image\/png"}],"author":"Antonija Blic Arar","twitter_card":"summary_large_image","twitter_creator":"@InfobipDev","twitter_site":"@InfobipDev","twitter_misc":{"Written by":"Antonija Blic Arar","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.infobip.com\/developers\/blog\/embrace-testing-in-production-with-paige-cruz#article","isPartOf":{"@id":"https:\/\/www.infobip.com\/developers\/blog\/embrace-testing-in-production-with-paige-cruz"},"author":{"name":"Antonija Blic Arar","@id":"https:\/\/www.infobip.com\/developers\/#\/schema\/person\/814cec14bb89cce9a4de95d2080a3f7e"},"headline":"Embrace Testing in Production with Paige Cruz","datePublished":"2023-05-22T09:31:41+00:00","dateModified":"2023-09-11T14:29:05+00:00","mainEntityOfPage":{"@id":"https:\/\/www.infobip.com\/developers\/blog\/embrace-testing-in-production-with-paige-cruz"},"wordCount":442,"publisher":{"@id":"https:\/\/www.infobip.com\/developers\/#organization"},"image":{"@id":"https:\/\/www.infobip.com\/developers\/blog\/embrace-testing-in-production-with-paige-cruz#primaryimage"},"thumbnailUrl":"https:\/\/www.infobip.com\/developers\/wp-content\/uploads\/2023\/05\/Untitled-design-3.png","keywords":["event","Infobip Shift","QA","testing"],"articleSection":["Announcement","Blog Post","Engineering Practices","Infobip events"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.infobip.com\/developers\/blog\/embrace-testing-in-production-with-paige-cruz","url":"https:\/\/www.infobip.com\/developers\/blog\/embrace-testing-in-production-with-paige-cruz","name":"Paige Cruz: Embrace testing in production!","isPartOf":{"@id":"https:\/\/www.infobip.com\/developers\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.infobip.com\/developers\/blog\/embrace-testing-in-production-with-paige-cruz#primaryimage"},"image":{"@id":"https:\/\/www.infobip.com\/developers\/blog\/embrace-testing-in-production-with-paige-cruz#primaryimage"},"thumbnailUrl":"https:\/\/www.infobip.com\/developers\/wp-content\/uploads\/2023\/05\/Untitled-design-3.png","datePublished":"2023-05-22T09:31:41+00:00","dateModified":"2023-09-11T14:29:05+00:00","description":"In the world of software development, the journey from a pull request to a production rollout can be filled with surprises.","breadcrumb":{"@id":"https:\/\/www.infobip.com\/developers\/blog\/embrace-testing-in-production-with-paige-cruz#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.infobip.com\/developers\/blog\/embrace-testing-in-production-with-paige-cruz"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.infobip.com\/developers\/blog\/embrace-testing-in-production-with-paige-cruz#primaryimage","url":"https:\/\/www.infobip.com\/developers\/wp-content\/uploads\/2023\/05\/Untitled-design-3.png","contentUrl":"https:\/\/www.infobip.com\/developers\/wp-content\/uploads\/2023\/05\/Untitled-design-3.png","width":1200,"height":700},{"@type":"BreadcrumbList","@id":"https:\/\/www.infobip.com\/developers\/blog\/embrace-testing-in-production-with-paige-cruz#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.infobip.com\/developers\/"},{"@type":"ListItem","position":2,"name":"Embrace Testing in Production with Paige Cruz"}]},{"@type":"WebSite","@id":"https:\/\/www.infobip.com\/developers\/#website","url":"https:\/\/www.infobip.com\/developers\/","name":"Infobip Developers Hub","description":"Build meaningful customer relationships across any channel","publisher":{"@id":"https:\/\/www.infobip.com\/developers\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.infobip.com\/developers\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.infobip.com\/developers\/#organization","name":"Infobip Developers Hub","url":"https:\/\/www.infobip.com\/developers\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.infobip.com\/developers\/#\/schema\/logo\/image\/","url":"https:\/\/www.infobip.com\/developers\/wp-content\/uploads\/2023\/03\/Infobip_logo_favicon.png","contentUrl":"https:\/\/www.infobip.com\/developers\/wp-content\/uploads\/2023\/03\/Infobip_logo_favicon.png","width":696,"height":696,"caption":"Infobip Developers Hub"},"image":{"@id":"https:\/\/www.infobip.com\/developers\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/infobip\/","https:\/\/x.com\/InfobipDev","https:\/\/www.youtube.com\/channel\/UCUPSTy53VecI5GIir3J3ZbQ","https:\/\/github.com\/infobip-community"]},{"@type":"Person","@id":"https:\/\/www.infobip.com\/developers\/#\/schema\/person\/814cec14bb89cce9a4de95d2080a3f7e","name":"Antonija Blic Arar","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.infobip.com\/developers\/#\/schema\/person\/image\/4b1cd96f9707209206f2e491edf455d7","url":"https:\/\/secure.gravatar.com\/avatar\/aaea85438d87f78df75e9aba6b08ebfcf0b984f254efa430a8cd7270991e4891?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/aaea85438d87f78df75e9aba6b08ebfcf0b984f254efa430a8cd7270991e4891?s=96&d=mm&r=g","caption":"Antonija Blic Arar"},"description":"Antonija is a journalist writing about development, startups and growth.","url":"https:\/\/www.infobip.com\/developers\/blog\/author\/antonija"}]}},"_links":{"self":[{"href":"https:\/\/www.infobip.com\/developers\/wp-json\/wp\/v2\/posts\/2258","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.infobip.com\/developers\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.infobip.com\/developers\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.infobip.com\/developers\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/www.infobip.com\/developers\/wp-json\/wp\/v2\/comments?post=2258"}],"version-history":[{"count":4,"href":"https:\/\/www.infobip.com\/developers\/wp-json\/wp\/v2\/posts\/2258\/revisions"}],"predecessor-version":[{"id":2263,"href":"https:\/\/www.infobip.com\/developers\/wp-json\/wp\/v2\/posts\/2258\/revisions\/2263"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.infobip.com\/developers\/wp-json\/wp\/v2\/media\/2261"}],"wp:attachment":[{"href":"https:\/\/www.infobip.com\/developers\/wp-json\/wp\/v2\/media?parent=2258"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.infobip.com\/developers\/wp-json\/wp\/v2\/categories?post=2258"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.infobip.com\/developers\/wp-json\/wp\/v2\/tags?post=2258"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.infobip.com\/developers\/wp-json\/wp\/v2\/coauthors?post=2258"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}