{"id":126,"date":"2010-03-08T21:36:18","date_gmt":"2010-03-09T04:36:18","guid":{"rendered":"http:\/\/www.jusquici.org\/blog\/?p=126"},"modified":"2010-05-24T10:25:35","modified_gmt":"2010-05-24T17:25:35","slug":"tdd-the-war-on-errors","status":"publish","type":"post","link":"https:\/\/www.jusquici.org\/blog\/?p=126","title":{"rendered":"TDD:  the war on errors"},"content":{"rendered":"<p>In the past two years, there has been an emphasis on Test Driven Development in Design Studio.<\/p>\n<p>There seems to be a misconception about the past, though:  it&#8217;s sometimes spoken as if testing was not part of DS previously.  This is untrue &#8211; no team fired up notepad, wrote some code, and turned it over.  Instead, &#8220;testing&#8221; has come to mean &#8220;having a robust automated test suite.&#8221;  That&#8217;s great, and it is amazing that so many more teams are building those suites now.  But we also have to remember it isn&#8217;t the only part of how we should test software.<\/p>\n<p>Below is my first draft of a process-style diagram of how things &#8220;should be&#8221; in our process.  It&#8217;s far too big to fit in here at 100% size, so click through to see it in all its glory.  I&#8217;m looking for any thoughts or corrections to it before I make a final infographic-style rendition.  <\/p>\n<p><a href=\"https:\/\/www.jusquici.org\/blog\/wp-content\/uploads\/2010\/03\/test-driven-dev.png\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/www.jusquici.org\/blog\/wp-content\/uploads\/2010\/03\/test-driven-dev-300x257.png\" alt=\"\" title=\"test driven dev\" width=\"300\" height=\"257\" class=\"aligncenter size-medium wp-image-128\" srcset=\"https:\/\/www.jusquici.org\/blog\/wp-content\/uploads\/2010\/03\/test-driven-dev-300x257.png 300w, https:\/\/www.jusquici.org\/blog\/wp-content\/uploads\/2010\/03\/test-driven-dev-1024x879.png 1024w, https:\/\/www.jusquici.org\/blog\/wp-content\/uploads\/2010\/03\/test-driven-dev.png 1105w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>A few things to note:<\/p>\n<ul>\n<li>The axes.  Horizontally, the client-team responsibility levels:  The further an item is to the right, the less directly the client is involved.  Vertically, the &#8220;language spectrum&#8221;:  The further towards the bottom, the simpler it usually is to verify a typical statement in the language involved.  I will have to enumerate the various levels later, but &#8220;Vision&#8221; would be at the top and most project-specific, and something like machine code at the bottom being least project-specific.\n<p>Let me know what you think!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the past two years, there has been an emphasis on Test Driven Development in Design Studio. There seems to be a misconception about the past, though: it&#8217;s sometimes spoken as if testing was not part of DS previously. This is untrue &#8211; no team fired up notepad, wrote some code, and turned it over. &hellip; <a href=\"https:\/\/www.jusquici.org\/blog\/?p=126\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">TDD:  the war on errors<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_markdown_editor_remember":false,"footnotes":""},"categories":[33,31,34,15,32],"tags":[],"_links":{"self":[{"href":"https:\/\/www.jusquici.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/126"}],"collection":[{"href":"https:\/\/www.jusquici.org\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.jusquici.org\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.jusquici.org\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.jusquici.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=126"}],"version-history":[{"count":4,"href":"https:\/\/www.jusquici.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/126\/revisions"}],"predecessor-version":[{"id":282,"href":"https:\/\/www.jusquici.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/126\/revisions\/282"}],"wp:attachment":[{"href":"https:\/\/www.jusquici.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=126"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.jusquici.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=126"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.jusquici.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=126"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}