{"id":225,"date":"2013-05-31T15:11:00","date_gmt":"2013-05-31T15:11:00","guid":{"rendered":"http:\/\/www.b.shuttle.de\/hayek\/Hayek\/Jochen\/wp\/blog-en\/2013\/05\/31\/software-design-paradigm-convention-over-configuration-applied-in-software-testing\/"},"modified":"2013-05-31T15:11:00","modified_gmt":"2013-05-31T15:11:00","slug":"software-design-paradigm-convention-over-configuration-applied-in-software-testing","status":"publish","type":"post","link":"https:\/\/wp.jochen.hayek.name\/blog-en\/2013\/05\/31\/software-design-paradigm-convention-over-configuration-applied-in-software-testing\/","title":{"rendered":"software design paradigm &#8220;convention over configuration&#8221; applied in software testing"},"content":{"rendered":"<p>\t\t\t\t<a href=\"http:\/\/en.wikipedia.org\/wiki\/Convention_over_configuration\">Convention over configuration &#8211; Wikipedia, the free encyclopedia<\/a><\/p>\n<p>I created a testing framework for one of my projects, and for quite a while I maintained the test cases in a &#8220;<i>configuration data structure<\/i>&#8221; (luckily) with rather strict conventions. Let me call that a <i>CDS<\/i>!<br \/>\nI listed every single test case with all its necessary details there. That was rather cumbersome and did not make me eager to introduce new test cases.<br \/>\nLooking at the fact, that it cost me less than 20 hours to &#8220;cast the conventions into code&#8221;, makes it look rather unclear, why I had hesitated for a couple of months to do so.<br \/>\nNow I am able to drop any &#8220;<i>productional data case<\/i>&#8221; into my repository of test cases, and start from there with test driver. That is quiet a relief.<\/p>\n<p>The difference between a raw test case taken from a production system and a (complete) test case executed by my testing framework is &#8220;<i>reference data<\/i>&#8220;. My testing framework is in a way supportive resp. smart enough by helping in creating &#8220;reference data&#8221; from the corresponding test data. Certainly a human being must consider the crucial difference between test data and reference data and has to adapt the reference data accordingly.<\/p>\n<p>To be continued.\t\t\t\t<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Convention over configuration &#8211; Wikipedia, the free encyclopedia I created a testing framework for one of my projects, and for quite a while I maintained the test cases in a &#8220;configuration data structure&#8221; (luckily) with rather strict conventions. Let me call that a CDS! I listed every single test case with all its necessary details [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false,"_share_on_mastodon":"0"},"categories":[666],"tags":[],"class_list":["post-225","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"share_on_mastodon":{"url":"","error":""},"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/paO0kP-3D","jetpack_likes_enabled":true,"amp_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts\/225","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/comments?post=225"}],"version-history":[{"count":0,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts\/225\/revisions"}],"wp:attachment":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/media?parent=225"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/categories?post=225"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/tags?post=225"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}