{"id":147,"date":"2019-12-24T06:19:41","date_gmt":"2019-12-24T06:19:41","guid":{"rendered":"https:\/\/stagsoftware.com\/hbtcentral\/?p=147"},"modified":"2019-12-24T06:19:42","modified_gmt":"2019-12-24T06:19:42","slug":"properties-of-good-test-cases","status":"publish","type":"post","link":"https:\/\/stagsoftware.com\/hbtcentral\/properties-of-good-test-cases\/","title":{"rendered":"Properties of good test cases"},"content":{"rendered":"\n<p>Understanding properties can enable us to assess the efficacy of&nbsp;scenarios\/cases and also yield higher efficiency.<\/p>\n\n\n\n<p>Properties of a good scenario\/test case are,<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>&nbsp;A given scenario and associated test cases should be clear on&nbsp;what it is validating i.e. what entity it is testing.<\/li><li>It should be clear as what type of defect it has the power to&nbsp;uncover. This makes the scenarios\/cases purposeful.<\/li><li>That the number of scenarios\/cases shall be proven to&nbsp;complete. This can be arrived&nbsp;only if the intended behaviour is modeled and then scenarios&nbsp;generated. The number of scenarios can be arrived by combining&nbsp;the conditions logically and the corresponding test cases&nbsp;generated by combining the data values corresponding to the&nbsp;conditions<\/li><li>That the test scenarios\/cases should be staged into quality&nbsp;levels rather than being one to uncover a variety of defects so&nbsp;that these are small and purposeful.<\/li><li>That in addition to staging by quality levels, it is good to group&nbsp;scenarios\/cases by test types to enable better clarity and&nbsp;purposefulness.<\/li><li>The number of scenarios\/cases as we progress from the lowest&nbsp;quality level to the highest is shaped like a frustum of a&nbsp;pyramid. i.e. number of test scenarios\/cases at the earliest&nbsp;quality level is much higher compared to those at higher levels.<\/li><li>That the distribution of positive and negative test scenarios\/cases is indeed good enough. Hmm \u2013 how do we know this?&nbsp;Extending point (3), negative scenarios are generated when&nbsp;conditions that are violated are combined while negative test&nbsp;cases are generated when values of data that do not satisfy the&nbsp;conditions are combined. Given this more conditions implies&nbsp;more scenarios (and also negative scenarios) while more data&nbsp;values implies more test cases. As one proceeds from lowest to&nbsp;highest quality level the distribution of -ve:-+ve skews on lower&nbsp;side. i.e. at higher levels, the scenarios\/cases are more&nbsp;conformance oriented.<\/li><li>That the scenarios\/cases are ranked in terms of priority of the&nbsp;entities they test and the types of defects that they defect, to&nbsp;enable intelligent choosing of which to execute when faced with&nbsp;crunch time.<\/li><li>That the scenarios when automated, run unattended and as&nbsp;failure of one does not not stop the execution run. It would&nbsp;therefore be useful to design the execution order of scenarios.&nbsp;i.e which scenario to execute in case the current one fails. This&nbsp;can be factored into automation to allow for \u201clong runs\u201d&nbsp;intelligently.<\/li><\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Understanding properties can enable us to assess the efficacy of&nbsp;scenarios\/cases and also yield higher efficiency. Properties of a good scenario\/test case are, &nbsp;A given scenario and associated test cases should be clear on&nbsp;what it is validating i.e. what entity it is testing. It should be clear as what type of defect it has the power [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","_links_to":"","_links_to_target":""},"categories":[10],"tags":[],"class_list":["post-147","post","type-post","status-publish","format-standard","hentry","category-robust-test-design"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Properties of good test cases - HyBIST Central<\/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:\/\/stagsoftware.com\/hbtcentral\/properties-of-good-test-cases\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Properties of good test cases - HyBIST Central\" \/>\n<meta property=\"og:description\" content=\"Understanding properties can enable us to assess the efficacy of&nbsp;scenarios\/cases and also yield higher efficiency. Properties of a good scenario\/test case are, &nbsp;A given scenario and associated test cases should be clear on&nbsp;what it is validating i.e. what entity it is testing. It should be clear as what type of defect it has the power [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/stagsoftware.com\/hbtcentral\/properties-of-good-test-cases\/\" \/>\n<meta property=\"og:site_name\" content=\"HyBIST Central\" \/>\n<meta property=\"article:published_time\" content=\"2019-12-24T06:19:41+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-12-24T06:19:42+00:00\" \/>\n<meta name=\"author\" content=\"STAG Software\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"STAG Software\" \/>\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:\/\/stagsoftware.com\/hbtcentral\/properties-of-good-test-cases\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/stagsoftware.com\/hbtcentral\/properties-of-good-test-cases\/\"},\"author\":{\"name\":\"STAG Software\",\"@id\":\"https:\/\/stagsoftware.com\/hbtcentral\/#\/schema\/person\/2cf4a7a21b9573577750f1cba91e2db8\"},\"headline\":\"Properties of good test cases\",\"datePublished\":\"2019-12-24T06:19:41+00:00\",\"dateModified\":\"2019-12-24T06:19:42+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/stagsoftware.com\/hbtcentral\/properties-of-good-test-cases\/\"},\"wordCount\":449,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/stagsoftware.com\/hbtcentral\/#organization\"},\"articleSection\":[\"08. Robust test design\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/stagsoftware.com\/hbtcentral\/properties-of-good-test-cases\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/stagsoftware.com\/hbtcentral\/properties-of-good-test-cases\/\",\"url\":\"https:\/\/stagsoftware.com\/hbtcentral\/properties-of-good-test-cases\/\",\"name\":\"Properties of good test cases - HyBIST Central\",\"isPartOf\":{\"@id\":\"https:\/\/stagsoftware.com\/hbtcentral\/#website\"},\"datePublished\":\"2019-12-24T06:19:41+00:00\",\"dateModified\":\"2019-12-24T06:19:42+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/stagsoftware.com\/hbtcentral\/properties-of-good-test-cases\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/stagsoftware.com\/hbtcentral\/properties-of-good-test-cases\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/stagsoftware.com\/hbtcentral\/properties-of-good-test-cases\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/stagsoftware.com\/hbtcentral\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Properties of good test cases\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/stagsoftware.com\/hbtcentral\/#website\",\"url\":\"https:\/\/stagsoftware.com\/hbtcentral\/\",\"name\":\"HyBIST Central\",\"description\":\"All about Hypothesis Based Immersive Session Testing\",\"publisher\":{\"@id\":\"https:\/\/stagsoftware.com\/hbtcentral\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/stagsoftware.com\/hbtcentral\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/stagsoftware.com\/hbtcentral\/#organization\",\"name\":\"HyBIST Central\",\"url\":\"https:\/\/stagsoftware.com\/hbtcentral\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/stagsoftware.com\/hbtcentral\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/stagsoftware.com\/hbtcentral\/wp-content\/uploads\/sites\/3\/2021\/08\/150-30.png\",\"contentUrl\":\"https:\/\/stagsoftware.com\/hbtcentral\/wp-content\/uploads\/sites\/3\/2021\/08\/150-30.png\",\"width\":150,\"height\":30,\"caption\":\"HyBIST Central\"},\"image\":{\"@id\":\"https:\/\/stagsoftware.com\/hbtcentral\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/stagsoftware.com\/hbtcentral\/#\/schema\/person\/2cf4a7a21b9573577750f1cba91e2db8\",\"name\":\"STAG Software\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/stagsoftware.com\/hbtcentral\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/55a1bf61b42fef94c642ef3988a962bc?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/55a1bf61b42fef94c642ef3988a962bc?s=96&d=mm&r=g\",\"caption\":\"STAG Software\"},\"url\":\"https:\/\/stagsoftware.com\/hbtcentral\/author\/hiya\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Properties of good test cases - HyBIST Central","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:\/\/stagsoftware.com\/hbtcentral\/properties-of-good-test-cases\/","og_locale":"en_US","og_type":"article","og_title":"Properties of good test cases - HyBIST Central","og_description":"Understanding properties can enable us to assess the efficacy of&nbsp;scenarios\/cases and also yield higher efficiency. Properties of a good scenario\/test case are, &nbsp;A given scenario and associated test cases should be clear on&nbsp;what it is validating i.e. what entity it is testing. It should be clear as what type of defect it has the power [&hellip;]","og_url":"https:\/\/stagsoftware.com\/hbtcentral\/properties-of-good-test-cases\/","og_site_name":"HyBIST Central","article_published_time":"2019-12-24T06:19:41+00:00","article_modified_time":"2019-12-24T06:19:42+00:00","author":"STAG Software","twitter_card":"summary_large_image","twitter_misc":{"Written by":"STAG Software","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/stagsoftware.com\/hbtcentral\/properties-of-good-test-cases\/#article","isPartOf":{"@id":"https:\/\/stagsoftware.com\/hbtcentral\/properties-of-good-test-cases\/"},"author":{"name":"STAG Software","@id":"https:\/\/stagsoftware.com\/hbtcentral\/#\/schema\/person\/2cf4a7a21b9573577750f1cba91e2db8"},"headline":"Properties of good test cases","datePublished":"2019-12-24T06:19:41+00:00","dateModified":"2019-12-24T06:19:42+00:00","mainEntityOfPage":{"@id":"https:\/\/stagsoftware.com\/hbtcentral\/properties-of-good-test-cases\/"},"wordCount":449,"commentCount":0,"publisher":{"@id":"https:\/\/stagsoftware.com\/hbtcentral\/#organization"},"articleSection":["08. Robust test design"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/stagsoftware.com\/hbtcentral\/properties-of-good-test-cases\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/stagsoftware.com\/hbtcentral\/properties-of-good-test-cases\/","url":"https:\/\/stagsoftware.com\/hbtcentral\/properties-of-good-test-cases\/","name":"Properties of good test cases - HyBIST Central","isPartOf":{"@id":"https:\/\/stagsoftware.com\/hbtcentral\/#website"},"datePublished":"2019-12-24T06:19:41+00:00","dateModified":"2019-12-24T06:19:42+00:00","breadcrumb":{"@id":"https:\/\/stagsoftware.com\/hbtcentral\/properties-of-good-test-cases\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/stagsoftware.com\/hbtcentral\/properties-of-good-test-cases\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/stagsoftware.com\/hbtcentral\/properties-of-good-test-cases\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/stagsoftware.com\/hbtcentral\/"},{"@type":"ListItem","position":2,"name":"Properties of good test cases"}]},{"@type":"WebSite","@id":"https:\/\/stagsoftware.com\/hbtcentral\/#website","url":"https:\/\/stagsoftware.com\/hbtcentral\/","name":"HyBIST Central","description":"All about Hypothesis Based Immersive Session Testing","publisher":{"@id":"https:\/\/stagsoftware.com\/hbtcentral\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/stagsoftware.com\/hbtcentral\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/stagsoftware.com\/hbtcentral\/#organization","name":"HyBIST Central","url":"https:\/\/stagsoftware.com\/hbtcentral\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/stagsoftware.com\/hbtcentral\/#\/schema\/logo\/image\/","url":"https:\/\/stagsoftware.com\/hbtcentral\/wp-content\/uploads\/sites\/3\/2021\/08\/150-30.png","contentUrl":"https:\/\/stagsoftware.com\/hbtcentral\/wp-content\/uploads\/sites\/3\/2021\/08\/150-30.png","width":150,"height":30,"caption":"HyBIST Central"},"image":{"@id":"https:\/\/stagsoftware.com\/hbtcentral\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/stagsoftware.com\/hbtcentral\/#\/schema\/person\/2cf4a7a21b9573577750f1cba91e2db8","name":"STAG Software","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/stagsoftware.com\/hbtcentral\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/55a1bf61b42fef94c642ef3988a962bc?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/55a1bf61b42fef94c642ef3988a962bc?s=96&d=mm&r=g","caption":"STAG Software"},"url":"https:\/\/stagsoftware.com\/hbtcentral\/author\/hiya\/"}]}},"_links":{"self":[{"href":"https:\/\/stagsoftware.com\/hbtcentral\/wp-json\/wp\/v2\/posts\/147","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/stagsoftware.com\/hbtcentral\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/stagsoftware.com\/hbtcentral\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/stagsoftware.com\/hbtcentral\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/stagsoftware.com\/hbtcentral\/wp-json\/wp\/v2\/comments?post=147"}],"version-history":[{"count":1,"href":"https:\/\/stagsoftware.com\/hbtcentral\/wp-json\/wp\/v2\/posts\/147\/revisions"}],"predecessor-version":[{"id":148,"href":"https:\/\/stagsoftware.com\/hbtcentral\/wp-json\/wp\/v2\/posts\/147\/revisions\/148"}],"wp:attachment":[{"href":"https:\/\/stagsoftware.com\/hbtcentral\/wp-json\/wp\/v2\/media?parent=147"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/stagsoftware.com\/hbtcentral\/wp-json\/wp\/v2\/categories?post=147"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/stagsoftware.com\/hbtcentral\/wp-json\/wp\/v2\/tags?post=147"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}