{"id":6,"date":"2006-12-29T13:42:00","date_gmt":"2006-12-29T19:42:00","guid":{"rendered":"https:\/\/www.chrisedwards.dreamhosters.com\/blog\/?p=6"},"modified":"2011-08-21T15:16:50","modified_gmt":"2011-08-21T21:16:50","slug":"tests-as-an-auto-notification-process","status":"publish","type":"post","link":"http:\/\/architester.com\/blog\/2006\/12\/29\/tests-as-an-auto-notification-process\/","title":{"rendered":"Tests as an Auto-Notification Process"},"content":{"rendered":"<p><span style=\"font-style: italic;\">Looking at tests in a different light.<\/span><\/p>\n<p>In looking at how tests help eliminate bugs, I realized that one way it does so is by automatically notifying you when something doesn&#8217;t work in the way the test specifies it &#8220;should&#8221;.  This got me thinking about tests from a different perspective&#8230;as an auto-notification process.<\/p>\n<p>In looking at tests this way, I find myself asking a  very different question: &#8220;What do I want to be notified of?&#8221;<\/p>\n<p>The &#8220;normal&#8221; way of thinking about tests will lead us to answers like: &#8220;When feature X doesn&#8217;t work&#8221; or &#8220;When scenario Y doesn&#8217;t produce output Z.&#8221; But these are narrowly focused questions. Is that all we could possibly want to know about our code or the system under test?<\/p>\n<p>What other conditions would a notification (failed test) be useful for?<\/p>\n<p>Maybe we have an expected failure when the volume of data exceeds a certain number of rows. We know we need to make certain changes to the system when this happens. A test could &#8220;remind&#8221; us of that automatically when that happens.<\/p>\n<p>We could have performance monitored by writing a test that will notify us if it takes more than X number of seconds to perfom operation Z. Thus we know we need to peform some optimzation.<\/p>\n<p>Looking at tests in this light opens up the possibility thinking &#8220;outside the box&#8221; concerning testing.<\/p>\n<p>Some of the uses that stem from answers to the question &#8220;What do I want to be notified of?&#8221; may be better suited for other tools than your standard xUnit suite, while others may not. Its just something for your brain to chew on.<\/p>\n<p>I&#8217;m interested to see what others think of this, and the different ways it could be used.<\/p>\n<p>-=CE=-<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Looking at tests in a different light.<br \/>\nIn looking at how tests help eliminate bugs, I realized that one way it does so is by automatically notifying you when something doesn&#8217;t work in the way the test specifies it &#8220;should&#8221;. This got me thinking about tests from a different perspective&#8230;as an auto-notification process.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,8],"tags":[36,71],"class_list":["post-6","post","type-post","status-publish","format-standard","hentry","category-test-driven-development","category-testing","tag-tdd","tag-testing"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.1 - aioseo.com -->\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"ChrisEdwards\"\/>\n\t<link rel=\"canonical\" href=\"http:\/\/architester.com\/blog\/2006\/12\/29\/tests-as-an-auto-notification-process\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Architester - Chris Edwards | Design, Testing &amp; Architecture\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Tests as an Auto-Notification Process | Architester - Chris Edwards\" \/>\n\t\t<meta property=\"og:url\" content=\"http:\/\/architester.com\/blog\/2006\/12\/29\/tests-as-an-auto-notification-process\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2006-12-29T19:42:00+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2011-08-21T21:16:50+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Tests as an Auto-Notification Process | Architester - Chris Edwards\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"http:\\\/\\\/architester.com\\\/blog\\\/2006\\\/12\\\/29\\\/tests-as-an-auto-notification-process\\\/#article\",\"name\":\"Tests as an Auto-Notification Process | Architester - Chris Edwards\",\"headline\":\"Tests as an Auto-Notification Process\",\"author\":{\"@id\":\"http:\\\/\\\/architester.com\\\/blog\\\/author\\\/chrisedwards\\\/#author\"},\"publisher\":{\"@id\":\"http:\\\/\\\/architester.com\\\/blog\\\/#organization\"},\"datePublished\":\"2006-12-29T13:42:00-06:00\",\"dateModified\":\"2011-08-21T15:16:50-06:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"http:\\\/\\\/architester.com\\\/blog\\\/2006\\\/12\\\/29\\\/tests-as-an-auto-notification-process\\\/#webpage\"},\"isPartOf\":{\"@id\":\"http:\\\/\\\/architester.com\\\/blog\\\/2006\\\/12\\\/29\\\/tests-as-an-auto-notification-process\\\/#webpage\"},\"articleSection\":\"Test-Driven Development, Testing, TDD, Testing\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\\\/\\\/architester.com\\\/blog\\\/2006\\\/12\\\/29\\\/tests-as-an-auto-notification-process\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/architester.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"http:\\\/\\\/architester.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/architester.com\\\/blog\\\/category\\\/test-driven-development\\\/#listItem\",\"name\":\"Test-Driven Development\"}},{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/architester.com\\\/blog\\\/category\\\/test-driven-development\\\/#listItem\",\"position\":2,\"name\":\"Test-Driven Development\",\"item\":\"http:\\\/\\\/architester.com\\\/blog\\\/category\\\/test-driven-development\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/architester.com\\\/blog\\\/2006\\\/12\\\/29\\\/tests-as-an-auto-notification-process\\\/#listItem\",\"name\":\"Tests as an Auto-Notification Process\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/architester.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/architester.com\\\/blog\\\/2006\\\/12\\\/29\\\/tests-as-an-auto-notification-process\\\/#listItem\",\"position\":3,\"name\":\"Tests as an Auto-Notification Process\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/architester.com\\\/blog\\\/category\\\/test-driven-development\\\/#listItem\",\"name\":\"Test-Driven Development\"}}]},{\"@type\":\"Organization\",\"@id\":\"http:\\\/\\\/architester.com\\\/blog\\\/#organization\",\"name\":\"Architester - Chris Edwards\",\"description\":\"Design, Testing & Architecture\",\"url\":\"http:\\\/\\\/architester.com\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"http:\\\/\\\/architester.com\\\/blog\\\/author\\\/chrisedwards\\\/#author\",\"url\":\"http:\\\/\\\/architester.com\\\/blog\\\/author\\\/chrisedwards\\\/\",\"name\":\"ChrisEdwards\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"http:\\\/\\\/architester.com\\\/blog\\\/2006\\\/12\\\/29\\\/tests-as-an-auto-notification-process\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3476e01c3ceb55c77ff6a84486161a657ee30d427833aef52e45c6fbc2c1105e?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"ChrisEdwards\"}},{\"@type\":\"WebPage\",\"@id\":\"http:\\\/\\\/architester.com\\\/blog\\\/2006\\\/12\\\/29\\\/tests-as-an-auto-notification-process\\\/#webpage\",\"url\":\"http:\\\/\\\/architester.com\\\/blog\\\/2006\\\/12\\\/29\\\/tests-as-an-auto-notification-process\\\/\",\"name\":\"Tests as an Auto-Notification Process | Architester - Chris Edwards\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"http:\\\/\\\/architester.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"http:\\\/\\\/architester.com\\\/blog\\\/2006\\\/12\\\/29\\\/tests-as-an-auto-notification-process\\\/#breadcrumblist\"},\"author\":{\"@id\":\"http:\\\/\\\/architester.com\\\/blog\\\/author\\\/chrisedwards\\\/#author\"},\"creator\":{\"@id\":\"http:\\\/\\\/architester.com\\\/blog\\\/author\\\/chrisedwards\\\/#author\"},\"datePublished\":\"2006-12-29T13:42:00-06:00\",\"dateModified\":\"2011-08-21T15:16:50-06:00\"},{\"@type\":\"WebSite\",\"@id\":\"http:\\\/\\\/architester.com\\\/blog\\\/#website\",\"url\":\"http:\\\/\\\/architester.com\\\/blog\\\/\",\"name\":\"Architester - Chris Edwards\",\"description\":\"Design, Testing & Architecture\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"http:\\\/\\\/architester.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Tests as an Auto-Notification Process | Architester - Chris Edwards","description":"","canonical_url":"http:\/\/architester.com\/blog\/2006\/12\/29\/tests-as-an-auto-notification-process\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"http:\/\/architester.com\/blog\/2006\/12\/29\/tests-as-an-auto-notification-process\/#article","name":"Tests as an Auto-Notification Process | Architester - Chris Edwards","headline":"Tests as an Auto-Notification Process","author":{"@id":"http:\/\/architester.com\/blog\/author\/chrisedwards\/#author"},"publisher":{"@id":"http:\/\/architester.com\/blog\/#organization"},"datePublished":"2006-12-29T13:42:00-06:00","dateModified":"2011-08-21T15:16:50-06:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"http:\/\/architester.com\/blog\/2006\/12\/29\/tests-as-an-auto-notification-process\/#webpage"},"isPartOf":{"@id":"http:\/\/architester.com\/blog\/2006\/12\/29\/tests-as-an-auto-notification-process\/#webpage"},"articleSection":"Test-Driven Development, Testing, TDD, Testing"},{"@type":"BreadcrumbList","@id":"http:\/\/architester.com\/blog\/2006\/12\/29\/tests-as-an-auto-notification-process\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"http:\/\/architester.com\/blog#listItem","position":1,"name":"Home","item":"http:\/\/architester.com\/blog","nextItem":{"@type":"ListItem","@id":"http:\/\/architester.com\/blog\/category\/test-driven-development\/#listItem","name":"Test-Driven Development"}},{"@type":"ListItem","@id":"http:\/\/architester.com\/blog\/category\/test-driven-development\/#listItem","position":2,"name":"Test-Driven Development","item":"http:\/\/architester.com\/blog\/category\/test-driven-development\/","nextItem":{"@type":"ListItem","@id":"http:\/\/architester.com\/blog\/2006\/12\/29\/tests-as-an-auto-notification-process\/#listItem","name":"Tests as an Auto-Notification Process"},"previousItem":{"@type":"ListItem","@id":"http:\/\/architester.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"http:\/\/architester.com\/blog\/2006\/12\/29\/tests-as-an-auto-notification-process\/#listItem","position":3,"name":"Tests as an Auto-Notification Process","previousItem":{"@type":"ListItem","@id":"http:\/\/architester.com\/blog\/category\/test-driven-development\/#listItem","name":"Test-Driven Development"}}]},{"@type":"Organization","@id":"http:\/\/architester.com\/blog\/#organization","name":"Architester - Chris Edwards","description":"Design, Testing & Architecture","url":"http:\/\/architester.com\/blog\/"},{"@type":"Person","@id":"http:\/\/architester.com\/blog\/author\/chrisedwards\/#author","url":"http:\/\/architester.com\/blog\/author\/chrisedwards\/","name":"ChrisEdwards","image":{"@type":"ImageObject","@id":"http:\/\/architester.com\/blog\/2006\/12\/29\/tests-as-an-auto-notification-process\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/3476e01c3ceb55c77ff6a84486161a657ee30d427833aef52e45c6fbc2c1105e?s=96&d=mm&r=g","width":96,"height":96,"caption":"ChrisEdwards"}},{"@type":"WebPage","@id":"http:\/\/architester.com\/blog\/2006\/12\/29\/tests-as-an-auto-notification-process\/#webpage","url":"http:\/\/architester.com\/blog\/2006\/12\/29\/tests-as-an-auto-notification-process\/","name":"Tests as an Auto-Notification Process | Architester - Chris Edwards","inLanguage":"en-US","isPartOf":{"@id":"http:\/\/architester.com\/blog\/#website"},"breadcrumb":{"@id":"http:\/\/architester.com\/blog\/2006\/12\/29\/tests-as-an-auto-notification-process\/#breadcrumblist"},"author":{"@id":"http:\/\/architester.com\/blog\/author\/chrisedwards\/#author"},"creator":{"@id":"http:\/\/architester.com\/blog\/author\/chrisedwards\/#author"},"datePublished":"2006-12-29T13:42:00-06:00","dateModified":"2011-08-21T15:16:50-06:00"},{"@type":"WebSite","@id":"http:\/\/architester.com\/blog\/#website","url":"http:\/\/architester.com\/blog\/","name":"Architester - Chris Edwards","description":"Design, Testing & Architecture","inLanguage":"en-US","publisher":{"@id":"http:\/\/architester.com\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"Architester - Chris Edwards | Design, Testing &amp; Architecture","og:type":"article","og:title":"Tests as an Auto-Notification Process | Architester - Chris Edwards","og:url":"http:\/\/architester.com\/blog\/2006\/12\/29\/tests-as-an-auto-notification-process\/","article:published_time":"2006-12-29T19:42:00+00:00","article:modified_time":"2011-08-21T21:16:50+00:00","twitter:card":"summary","twitter:title":"Tests as an Auto-Notification Process | Architester - Chris Edwards"},"aioseo_meta_data":{"post_id":"6","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"location":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2021-02-03 04:59:47","updated":"2025-12-10 06:53:42","seo_analyzer_scan_date":null,"focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"http:\/\/architester.com\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"http:\/\/architester.com\/blog\/category\/test-driven-development\/\" title=\"Test-Driven Development\">Test-Driven Development<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tTests as an Auto-Notification Process\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"http:\/\/architester.com\/blog"},{"label":"Test-Driven Development","link":"http:\/\/architester.com\/blog\/category\/test-driven-development\/"},{"label":"Tests as an Auto-Notification Process","link":"http:\/\/architester.com\/blog\/2006\/12\/29\/tests-as-an-auto-notification-process\/"}],"_links":{"self":[{"href":"http:\/\/architester.com\/blog\/wp-json\/wp\/v2\/posts\/6","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/architester.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/architester.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/architester.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/architester.com\/blog\/wp-json\/wp\/v2\/comments?post=6"}],"version-history":[{"count":4,"href":"http:\/\/architester.com\/blog\/wp-json\/wp\/v2\/posts\/6\/revisions"}],"predecessor-version":[{"id":375,"href":"http:\/\/architester.com\/blog\/wp-json\/wp\/v2\/posts\/6\/revisions\/375"}],"wp:attachment":[{"href":"http:\/\/architester.com\/blog\/wp-json\/wp\/v2\/media?parent=6"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/architester.com\/blog\/wp-json\/wp\/v2\/categories?post=6"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/architester.com\/blog\/wp-json\/wp\/v2\/tags?post=6"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}