{"id":171,"date":"2019-12-24T06:38:59","date_gmt":"2019-12-24T06:38:59","guid":{"rendered":"https:\/\/stagsoftware.com\/hbtcentral\/?p=171"},"modified":"2023-07-14T05:28:39","modified_gmt":"2023-07-13T23:58:39","slug":"selecting-test-cases-for-automation","status":"publish","type":"post","link":"https:\/\/stagsoftware.com\/hbtcentral\/selecting-test-cases-for-automation\/","title":{"rendered":"Selecting test cases for automation"},"content":{"rendered":"\n<p><em>Should I automate all my test cases? What criteria&nbsp;could I apply to select test cases for automation?&nbsp;<\/em><\/p>\n\n\n\n<p>Well you automate test scenarios, not test cases. As we have understood, test scenarios in HyBIST represent a flow and test cases are combinations of data for each scenario. So we automate a scenario producing a data-driven script where the test case data are\u00a0externalised.<\/p>\n\n\n\n<p>The answer to the first question &nbsp;<em>Should I automate all my&nbsp;test cases ?&nbsp;<\/em>&nbsp;is \u201cNot necessarily\u201d. We need to ensure that we derive value from automating the scenarios. The&nbsp;scenarios that cannot be executed by a human needs to be automated, the typical examples of these are non-functional tests like load\/perfomance etc. &nbsp;Most often test at Levels 6\/7 require to be automated. As for the tests at Levels 1-5, we have choices to automate or not. Well some structural tests at L3 require tools and therefore automated evaluation especially leak detection, static analysis of complexity, automated code review etc. &nbsp;So now the question narrows down to quality levels&nbsp;&nbsp;L1, L2, L4, L5 . Early level test at L1, L2 and parts of L4 can be easily automated and can form part of build system to ensure that code&nbsp;can be automatically validate and then checked in. Parts of L4 and L5 is what we have to make choices.<\/p>\n\n\n\n<p><em>So what are the criteria to select these test cases?<\/em><\/p>\n\n\n\n<p>1.&nbsp;Test&nbsp;scenarios&nbsp;that form part of regression suite.<\/p>\n\n\n\n<p>2. Test scenarios&nbsp;enable a basic health check.<\/p>\n\n\n\n<p>3. Test scenarios&nbsp;that require deep domain to execute and evaluate.<\/p>\n\n\n\n<p>4. Test scenarios that are time consuming and&nbsp;possibly need to run very many times.<\/p>\n\n\n\n<p>In a nutshell, when you want to decide what to automate, think in terms of tests at the various Quality levels. Since the test cases at L4 &amp; L5 tend to be a lot more, the decision making is more often focussed on \u2018what to choose in L4\/L5\u2032.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Should I automate all my test cases? What criteria&nbsp;could I apply to select test cases for automation?&nbsp; Well you automate test scenarios, not test cases. As we have understood, test scenarios in HyBIST represent a flow and test cases are combinations of data for each scenario. So we automate a scenario producing a data-driven script [&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":[11],"tags":[],"class_list":["post-171","post","type-post","status-publish","format-standard","hentry","category-optimal-execution"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Selecting test cases for automation - 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\/selecting-test-cases-for-automation\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Selecting test cases for automation - HyBIST Central\" \/>\n<meta property=\"og:description\" content=\"Should I automate all my test cases? What criteria&nbsp;could I apply to select test cases for automation?&nbsp; Well you automate test scenarios, not test cases. As we have understood, test scenarios in HyBIST represent a flow and test cases are combinations of data for each scenario. So we automate a scenario producing a data-driven script [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/stagsoftware.com\/hbtcentral\/selecting-test-cases-for-automation\/\" \/>\n<meta property=\"og:site_name\" content=\"HyBIST Central\" \/>\n<meta property=\"article:published_time\" content=\"2019-12-24T06:38:59+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-07-13T23:58:39+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\/selecting-test-cases-for-automation\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/stagsoftware.com\/hbtcentral\/selecting-test-cases-for-automation\/\"},\"author\":{\"name\":\"STAG Software\",\"@id\":\"https:\/\/stagsoftware.com\/hbtcentral\/#\/schema\/person\/2cf4a7a21b9573577750f1cba91e2db8\"},\"headline\":\"Selecting test cases for automation\",\"datePublished\":\"2019-12-24T06:38:59+00:00\",\"dateModified\":\"2023-07-13T23:58:39+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/stagsoftware.com\/hbtcentral\/selecting-test-cases-for-automation\/\"},\"wordCount\":341,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/stagsoftware.com\/hbtcentral\/#organization\"},\"articleSection\":[\"10. Optimal execution\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/stagsoftware.com\/hbtcentral\/selecting-test-cases-for-automation\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/stagsoftware.com\/hbtcentral\/selecting-test-cases-for-automation\/\",\"url\":\"https:\/\/stagsoftware.com\/hbtcentral\/selecting-test-cases-for-automation\/\",\"name\":\"Selecting test cases for automation - HyBIST Central\",\"isPartOf\":{\"@id\":\"https:\/\/stagsoftware.com\/hbtcentral\/#website\"},\"datePublished\":\"2019-12-24T06:38:59+00:00\",\"dateModified\":\"2023-07-13T23:58:39+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/stagsoftware.com\/hbtcentral\/selecting-test-cases-for-automation\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/stagsoftware.com\/hbtcentral\/selecting-test-cases-for-automation\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/stagsoftware.com\/hbtcentral\/selecting-test-cases-for-automation\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/stagsoftware.com\/hbtcentral\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Selecting test cases for automation\"}]},{\"@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":"Selecting test cases for automation - 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\/selecting-test-cases-for-automation\/","og_locale":"en_US","og_type":"article","og_title":"Selecting test cases for automation - HyBIST Central","og_description":"Should I automate all my test cases? What criteria&nbsp;could I apply to select test cases for automation?&nbsp; Well you automate test scenarios, not test cases. As we have understood, test scenarios in HyBIST represent a flow and test cases are combinations of data for each scenario. So we automate a scenario producing a data-driven script [&hellip;]","og_url":"https:\/\/stagsoftware.com\/hbtcentral\/selecting-test-cases-for-automation\/","og_site_name":"HyBIST Central","article_published_time":"2019-12-24T06:38:59+00:00","article_modified_time":"2023-07-13T23:58:39+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\/selecting-test-cases-for-automation\/#article","isPartOf":{"@id":"https:\/\/stagsoftware.com\/hbtcentral\/selecting-test-cases-for-automation\/"},"author":{"name":"STAG Software","@id":"https:\/\/stagsoftware.com\/hbtcentral\/#\/schema\/person\/2cf4a7a21b9573577750f1cba91e2db8"},"headline":"Selecting test cases for automation","datePublished":"2019-12-24T06:38:59+00:00","dateModified":"2023-07-13T23:58:39+00:00","mainEntityOfPage":{"@id":"https:\/\/stagsoftware.com\/hbtcentral\/selecting-test-cases-for-automation\/"},"wordCount":341,"commentCount":0,"publisher":{"@id":"https:\/\/stagsoftware.com\/hbtcentral\/#organization"},"articleSection":["10. Optimal execution"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/stagsoftware.com\/hbtcentral\/selecting-test-cases-for-automation\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/stagsoftware.com\/hbtcentral\/selecting-test-cases-for-automation\/","url":"https:\/\/stagsoftware.com\/hbtcentral\/selecting-test-cases-for-automation\/","name":"Selecting test cases for automation - HyBIST Central","isPartOf":{"@id":"https:\/\/stagsoftware.com\/hbtcentral\/#website"},"datePublished":"2019-12-24T06:38:59+00:00","dateModified":"2023-07-13T23:58:39+00:00","breadcrumb":{"@id":"https:\/\/stagsoftware.com\/hbtcentral\/selecting-test-cases-for-automation\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/stagsoftware.com\/hbtcentral\/selecting-test-cases-for-automation\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/stagsoftware.com\/hbtcentral\/selecting-test-cases-for-automation\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/stagsoftware.com\/hbtcentral\/"},{"@type":"ListItem","position":2,"name":"Selecting test cases for automation"}]},{"@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\/171","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=171"}],"version-history":[{"count":2,"href":"https:\/\/stagsoftware.com\/hbtcentral\/wp-json\/wp\/v2\/posts\/171\/revisions"}],"predecessor-version":[{"id":454,"href":"https:\/\/stagsoftware.com\/hbtcentral\/wp-json\/wp\/v2\/posts\/171\/revisions\/454"}],"wp:attachment":[{"href":"https:\/\/stagsoftware.com\/hbtcentral\/wp-json\/wp\/v2\/media?parent=171"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/stagsoftware.com\/hbtcentral\/wp-json\/wp\/v2\/categories?post=171"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/stagsoftware.com\/hbtcentral\/wp-json\/wp\/v2\/tags?post=171"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}