{"id":55,"date":"2008-06-27T20:45:11","date_gmt":"2008-06-28T03:45:11","guid":{"rendered":"http:\/\/lookforwardconsulting.com\/wordpress\/?p=55"},"modified":"2025-02-28T13:37:28","modified_gmt":"2025-02-28T13:37:28","slug":"unit-testing-never-took-off","status":"publish","type":"post","link":"https:\/\/thescrumacademy.com\/es\/2008\/06\/27\/unit-testing-never-took-off\/","title":{"rendered":"\u201cUnit testing never took off\u201d"},"content":{"rendered":"<p>\u2026 said Agitar CEO Jerry Rudisin from\u00a0SD Times.<\/p>\n<blockquote><p><span id=\"ctl00_SDTimesPlaceHolder_articleBodyLabel\">\u201cThe practice works, but it hasn\u2019t taken off as a mainstream practice.\u201d<br \/>\n<\/span><\/p><\/blockquote>\n<p>In 2008, I find this quote surprising and saddening that we still do not have software developers recognizing the need for automated unit testing. Sure, a lot of people now talk a good game about unit testing (how can they not since it is talked about so much), but they don\u2019t really buy it. I see it with the teams I work with today and teams I worked with in the past. When I was interviewing at\u00a0<a title=\"SAIC\" href=\"http:\/\/www.saic.com\/\">SAIC<\/a>, I specifically asked the team if they did unit testing (it was my minimal qualification for the job) and I got nods from everyone at the table. Little did I know that we were talking about completely different things: I was talking about\u00a0<a title=\"Agile Unit Testing Definition\" href=\"http:\/\/www.artima.com\/weblogs\/viewpost.jsp?thread=126923\">Michael Feathers\u2019s definition of unit testing<\/a>\u00a0and they were talking about a more\u00a0classic definition of unit testing. It was an immediate mismatch of expectations and goes back to an earlier post on being\u00a0<a title=\"Importance of Language Precision\" href=\"http:\/\/thescrumacademy.com\/?p=21\">precise in language<\/a>.<\/p>\n<p>So how do we bridge the gap and help people understand the value of automated unit testing? I think the first step is to help people understand that testing is really a design activity. Writing automated unit tests is defining your API so that it may be consumed by its very first client, the test harness. I have always believed (and found through practice), that if your application is hard to test, the design is likely overly complex. Tests that are hard to set-up, or exercise, normally mean the classes are too tightly coupled. Or put another way, the classes know too much about the internal workings of other classes and your design concepts are not properly encapsulated, i.e. you have leaky abstractions.<\/p>\n<p>I understand it is hard to change the way we code, especially if we have habits that have helped us be successful for many years. However, what really has helped me crystallize the importance of writing automated unit tests and practicing TDD is a quote I heard from Alan Shalloway, and I am paraphrasing here:<\/p>\n<blockquote><p><span id=\"ctl00_SDTimesPlaceHolder_articleBodyLabel\">\u201c<strong>I am putting the bugs into the system<\/strong>. There are no people, or gremlins, coming in at night sprinkling bugs while I am gone.\u00a0<strong>It is me<\/strong>, so I need to do practices that stop me from putting more bugs into the system and TDD is what works for me.\u201d\u00a0<em>[emphasis added]<\/em><\/span><\/p><\/blockquote>\n<p>So, I guess the first thing that needs to happen is not learning testing is a design activity, but accepting responsibility we are responsible for the low quality and wanting to make things better. Without that, unit testing will never take off.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u2026 said Agitar CEO Jerry Rudisin from\u00a0SD Times. \u201cThe practice works, but it hasn\u2019t taken off as a mainstream practice.\u201d In 2008, I find this quote surprising and saddening that  [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":7556,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_price":"","_stock":"","_tribe_ticket_header":"","_tribe_default_ticket_provider":"","_tribe_ticket_capacity":"0","_ticket_start_date":"","_ticket_end_date":"","_tribe_ticket_show_description":"","_tribe_ticket_show_not_going":false,"_tribe_ticket_use_global_stock":"","_tribe_ticket_global_stock_level":"","_global_stock_mode":"","_global_stock_cap":"","_tribe_rsvp_for_event":"","_tribe_ticket_going_count":"","_tribe_ticket_not_going_count":"","_tribe_tickets_list":"[]","_tribe_ticket_has_attendee_info_fields":false,"footnotes":""},"categories":[208,10,6,24,206,36,17],"tags":[],"class_list":["post-55","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-advanced-practitioners","category-developers","category-extreme-programming","category-legacy-code","category-practitioners","category-test-driven-development","category-testing"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Unit testing never took off<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/thescrumacademy.com\/es\/2008\/06\/27\/unit-testing-never-took-off\/\" \/>\n<meta property=\"og:locale\" content=\"es_ES\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Unit testing never took off\" \/>\n<meta property=\"og:description\" content=\"\u2026 said Agitar CEO Jerry Rudisin from\u00a0SD Times. \u201cThe practice works, but it hasn\u2019t taken off as a mainstream practice.\u201d In 2008, I find this quote surprising and saddening that [...]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/thescrumacademy.com\/es\/2008\/06\/27\/unit-testing-never-took-off\/\" \/>\n<meta property=\"og:site_name\" content=\"The Scrum Academy\" \/>\n<meta property=\"article:published_time\" content=\"2008-06-28T03:45:11+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-02-28T13:37:28+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/thescrumacademy.com\/wp-content\/uploads\/2013\/11\/vecteezy_close-up-of-three-colorful-beetles-on-green-grass_56299162.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"673\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Carlton Nettleton\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Escrito por\" \/>\n\t<meta name=\"twitter:data1\" content=\"Carlton Nettleton\" \/>\n\t<meta name=\"twitter:label2\" content=\"Tiempo de lectura\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutos\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/thescrumacademy.com\/es\/2008\/06\/27\/unit-testing-never-took-off\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/thescrumacademy.com\/es\/2008\/06\/27\/unit-testing-never-took-off\/\"},\"author\":{\"name\":\"Carlton Nettleton\",\"@id\":\"https:\/\/thescrumacademy.com\/es\/#\/schema\/person\/2a0fb199044ecd4af3704c734747fc6a\"},\"headline\":\"\u201cUnit testing never took off\u201d\",\"datePublished\":\"2008-06-28T03:45:11+00:00\",\"dateModified\":\"2025-02-28T13:37:28+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/thescrumacademy.com\/es\/2008\/06\/27\/unit-testing-never-took-off\/\"},\"wordCount\":459,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/thescrumacademy.com\/es\/2008\/06\/27\/unit-testing-never-took-off\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/thescrumacademy.com\/wp-content\/uploads\/2013\/11\/vecteezy_close-up-of-three-colorful-beetles-on-green-grass_56299162.jpg\",\"articleSection\":[\"Advanced Practitioners\",\"Developers\",\"Extreme Programming\",\"Legacy Code\",\"Practitioners\",\"Test-Driven Development\",\"Testing\"],\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/thescrumacademy.com\/es\/2008\/06\/27\/unit-testing-never-took-off\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/thescrumacademy.com\/es\/2008\/06\/27\/unit-testing-never-took-off\/\",\"url\":\"https:\/\/thescrumacademy.com\/es\/2008\/06\/27\/unit-testing-never-took-off\/\",\"name\":\"Unit testing never took off\",\"isPartOf\":{\"@id\":\"https:\/\/thescrumacademy.com\/es\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/thescrumacademy.com\/es\/2008\/06\/27\/unit-testing-never-took-off\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/thescrumacademy.com\/es\/2008\/06\/27\/unit-testing-never-took-off\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/thescrumacademy.com\/wp-content\/uploads\/2013\/11\/vecteezy_close-up-of-three-colorful-beetles-on-green-grass_56299162.jpg\",\"datePublished\":\"2008-06-28T03:45:11+00:00\",\"dateModified\":\"2025-02-28T13:37:28+00:00\",\"author\":{\"@id\":\"https:\/\/thescrumacademy.com\/es\/#\/schema\/person\/2a0fb199044ecd4af3704c734747fc6a\"},\"breadcrumb\":{\"@id\":\"https:\/\/thescrumacademy.com\/es\/2008\/06\/27\/unit-testing-never-took-off\/#breadcrumb\"},\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/thescrumacademy.com\/es\/2008\/06\/27\/unit-testing-never-took-off\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\/\/thescrumacademy.com\/es\/2008\/06\/27\/unit-testing-never-took-off\/#primaryimage\",\"url\":\"https:\/\/thescrumacademy.com\/wp-content\/uploads\/2013\/11\/vecteezy_close-up-of-three-colorful-beetles-on-green-grass_56299162.jpg\",\"contentUrl\":\"https:\/\/thescrumacademy.com\/wp-content\/uploads\/2013\/11\/vecteezy_close-up-of-three-colorful-beetles-on-green-grass_56299162.jpg\",\"width\":1200,\"height\":673,\"caption\":\"Close-up of three colorful beetles on green grass, showcasing their vibrant colors and details\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/thescrumacademy.com\/es\/2008\/06\/27\/unit-testing-never-took-off\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/thescrumacademy.com\/es\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u201cUnit testing never took off\u201d\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/thescrumacademy.com\/es\/#website\",\"url\":\"https:\/\/thescrumacademy.com\/es\/\",\"name\":\"The Scrum Academy\",\"description\":\"Everyone anywhere can do better Scrum\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/thescrumacademy.com\/es\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"es\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/thescrumacademy.com\/es\/#\/schema\/person\/2a0fb199044ecd4af3704c734747fc6a\",\"name\":\"Carlton Nettleton\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\/\/thescrumacademy.com\/es\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/6d69c37c349230a49a1ec6c77c21c4b35043de9fbcce8a202d61f707025cd537?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/6d69c37c349230a49a1ec6c77c21c4b35043de9fbcce8a202d61f707025cd537?s=96&d=mm&r=g\",\"caption\":\"Carlton Nettleton\"},\"description\":\"My name is Carlton Nettleton and I am the President of Look Forward Consulting. I am an international speaker, trainer and author of the book, Fourteen Observations of Good Scrum Practice and my book has been translated into Spanish. My passion is to share my excitement, enthusiasm and encouragement with teams and organizations as they reach for higher levels of performance and engagement. My business is to help your business grow and flourish.\",\"url\":\"https:\/\/thescrumacademy.com\/es\/author\/admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Unit testing never took off","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:\/\/thescrumacademy.com\/es\/2008\/06\/27\/unit-testing-never-took-off\/","og_locale":"es_ES","og_type":"article","og_title":"Unit testing never took off","og_description":"\u2026 said Agitar CEO Jerry Rudisin from\u00a0SD Times. \u201cThe practice works, but it hasn\u2019t taken off as a mainstream practice.\u201d In 2008, I find this quote surprising and saddening that [...]","og_url":"https:\/\/thescrumacademy.com\/es\/2008\/06\/27\/unit-testing-never-took-off\/","og_site_name":"The Scrum Academy","article_published_time":"2008-06-28T03:45:11+00:00","article_modified_time":"2025-02-28T13:37:28+00:00","og_image":[{"width":1200,"height":673,"url":"https:\/\/thescrumacademy.com\/wp-content\/uploads\/2013\/11\/vecteezy_close-up-of-three-colorful-beetles-on-green-grass_56299162.jpg","type":"image\/jpeg"}],"author":"Carlton Nettleton","twitter_card":"summary_large_image","twitter_misc":{"Escrito por":"Carlton Nettleton","Tiempo de lectura":"2 minutos"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/thescrumacademy.com\/es\/2008\/06\/27\/unit-testing-never-took-off\/#article","isPartOf":{"@id":"https:\/\/thescrumacademy.com\/es\/2008\/06\/27\/unit-testing-never-took-off\/"},"author":{"name":"Carlton Nettleton","@id":"https:\/\/thescrumacademy.com\/es\/#\/schema\/person\/2a0fb199044ecd4af3704c734747fc6a"},"headline":"\u201cUnit testing never took off\u201d","datePublished":"2008-06-28T03:45:11+00:00","dateModified":"2025-02-28T13:37:28+00:00","mainEntityOfPage":{"@id":"https:\/\/thescrumacademy.com\/es\/2008\/06\/27\/unit-testing-never-took-off\/"},"wordCount":459,"commentCount":0,"image":{"@id":"https:\/\/thescrumacademy.com\/es\/2008\/06\/27\/unit-testing-never-took-off\/#primaryimage"},"thumbnailUrl":"https:\/\/thescrumacademy.com\/wp-content\/uploads\/2013\/11\/vecteezy_close-up-of-three-colorful-beetles-on-green-grass_56299162.jpg","articleSection":["Advanced Practitioners","Developers","Extreme Programming","Legacy Code","Practitioners","Test-Driven Development","Testing"],"inLanguage":"es","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/thescrumacademy.com\/es\/2008\/06\/27\/unit-testing-never-took-off\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/thescrumacademy.com\/es\/2008\/06\/27\/unit-testing-never-took-off\/","url":"https:\/\/thescrumacademy.com\/es\/2008\/06\/27\/unit-testing-never-took-off\/","name":"Unit testing never took off","isPartOf":{"@id":"https:\/\/thescrumacademy.com\/es\/#website"},"primaryImageOfPage":{"@id":"https:\/\/thescrumacademy.com\/es\/2008\/06\/27\/unit-testing-never-took-off\/#primaryimage"},"image":{"@id":"https:\/\/thescrumacademy.com\/es\/2008\/06\/27\/unit-testing-never-took-off\/#primaryimage"},"thumbnailUrl":"https:\/\/thescrumacademy.com\/wp-content\/uploads\/2013\/11\/vecteezy_close-up-of-three-colorful-beetles-on-green-grass_56299162.jpg","datePublished":"2008-06-28T03:45:11+00:00","dateModified":"2025-02-28T13:37:28+00:00","author":{"@id":"https:\/\/thescrumacademy.com\/es\/#\/schema\/person\/2a0fb199044ecd4af3704c734747fc6a"},"breadcrumb":{"@id":"https:\/\/thescrumacademy.com\/es\/2008\/06\/27\/unit-testing-never-took-off\/#breadcrumb"},"inLanguage":"es","potentialAction":[{"@type":"ReadAction","target":["https:\/\/thescrumacademy.com\/es\/2008\/06\/27\/unit-testing-never-took-off\/"]}]},{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/thescrumacademy.com\/es\/2008\/06\/27\/unit-testing-never-took-off\/#primaryimage","url":"https:\/\/thescrumacademy.com\/wp-content\/uploads\/2013\/11\/vecteezy_close-up-of-three-colorful-beetles-on-green-grass_56299162.jpg","contentUrl":"https:\/\/thescrumacademy.com\/wp-content\/uploads\/2013\/11\/vecteezy_close-up-of-three-colorful-beetles-on-green-grass_56299162.jpg","width":1200,"height":673,"caption":"Close-up of three colorful beetles on green grass, showcasing their vibrant colors and details"},{"@type":"BreadcrumbList","@id":"https:\/\/thescrumacademy.com\/es\/2008\/06\/27\/unit-testing-never-took-off\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/thescrumacademy.com\/es\/"},{"@type":"ListItem","position":2,"name":"\u201cUnit testing never took off\u201d"}]},{"@type":"WebSite","@id":"https:\/\/thescrumacademy.com\/es\/#website","url":"https:\/\/thescrumacademy.com\/es\/","name":"The Scrum Academy","description":"Everyone anywhere can do better Scrum","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/thescrumacademy.com\/es\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"es"},{"@type":"Person","@id":"https:\/\/thescrumacademy.com\/es\/#\/schema\/person\/2a0fb199044ecd4af3704c734747fc6a","name":"Carlton Nettleton","image":{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/thescrumacademy.com\/es\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/6d69c37c349230a49a1ec6c77c21c4b35043de9fbcce8a202d61f707025cd537?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/6d69c37c349230a49a1ec6c77c21c4b35043de9fbcce8a202d61f707025cd537?s=96&d=mm&r=g","caption":"Carlton Nettleton"},"description":"My name is Carlton Nettleton and I am the President of Look Forward Consulting. I am an international speaker, trainer and author of the book, Fourteen Observations of Good Scrum Practice and my book has been translated into Spanish. My passion is to share my excitement, enthusiasm and encouragement with teams and organizations as they reach for higher levels of performance and engagement. My business is to help your business grow and flourish.","url":"https:\/\/thescrumacademy.com\/es\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/thescrumacademy.com\/es\/wp-json\/wp\/v2\/posts\/55","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thescrumacademy.com\/es\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thescrumacademy.com\/es\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thescrumacademy.com\/es\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/thescrumacademy.com\/es\/wp-json\/wp\/v2\/comments?post=55"}],"version-history":[{"count":0,"href":"https:\/\/thescrumacademy.com\/es\/wp-json\/wp\/v2\/posts\/55\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/thescrumacademy.com\/es\/wp-json\/wp\/v2\/media\/7556"}],"wp:attachment":[{"href":"https:\/\/thescrumacademy.com\/es\/wp-json\/wp\/v2\/media?parent=55"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thescrumacademy.com\/es\/wp-json\/wp\/v2\/categories?post=55"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thescrumacademy.com\/es\/wp-json\/wp\/v2\/tags?post=55"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}