{"id":38571,"date":"2016-11-23T22:32:07","date_gmt":"2016-11-24T04:32:07","guid":{"rendered":"http:\/\/mmiranda96blog.wordpress.com\/?p=180"},"modified":"2016-11-23T22:32:07","modified_gmt":"2016-11-24T04:32:07","slug":"software-verification-and-validation-14","status":"publish","type":"post","link":"https:\/\/kenscourses.com\/tc1019fall2016\/syndicated\/software-verification-and-validation-14\/","title":{"rendered":"Software verification and validation"},"content":{"rendered":"<p>Imagine that you finished a big, big, BIG project. You&#8217;re delivering it. The client sings the final check and shakes your hand, thankful. Two weeks later, you receive a call. It&#8217;s your lawyer. Your client wants to sue you because what you did is not what he asked for (at all). So&#8230; you have three choices: a) you rot in jail, b) you deliver a new product (that means, you work extremely in order to make it fast and good) or c) you travel back in time and check that what you&#8217;re developing is actually what the client needs. I have great news! Although option C is physically imposible, you can do something similar: do it before every project you build.<\/p>\n<p>Verification and validation may seem the same concept. To identify the difference, ask yourself: am I building the product right? This is verification. In the other hand, am I building the right product? This is validation. Both are equally important.<\/p>\n<p>There are three other concepts that are important. One might think they&#8217;re all the same, but they&#8217;re not. Here are the concepts about errors:<\/p>\n<ul>\n<li>Fault: when your code is wrong, when you forgot a parenthesis, when you named the file with a wrong extension. Simple bugs, generally debugged by the IDE or compiler iteslf.<\/li>\n<li>Failure: runtime error. It happens during execution of the program. These must be debugged manually.<\/li>\n<li>Malfunction: this is a deeper error. It involves the structure and architecture of the program. Usually, this are the worst bugs. These take days to be solved. Sometimes one must restructure from zero.<\/li>\n<\/ul>\n<p>This process is directly related to software testing and requirements elicitation.<\/p>\n<figure data-shortcode=\"caption\" id=\"attachment_181\" style=\"width: 461px\" class=\"wp-caption aligncenter\"><img class=\" wp-image-181\" src=\"https:\/\/mmiranda96blog.files.wordpress.com\/2016\/11\/6005746185_76ebe69ae2_b.jpg?w=461&#038;h=312\" alt=\"flickr photo by West Point - The U.S. Military Academy https:\/\/flickr.com\/photos\/west_point\/6005746185 shared under a Creative Commons (BY-NC-ND) license\" width=\"461\" height=\"312\" srcset=\"https:\/\/mmiranda96blog.files.wordpress.com\/2016\/11\/6005746185_76ebe69ae2_b.jpg?w=461&amp;h=312 461w, https:\/\/mmiranda96blog.files.wordpress.com\/2016\/11\/6005746185_76ebe69ae2_b.jpg?w=922&amp;h=624 922w, https:\/\/mmiranda96blog.files.wordpress.com\/2016\/11\/6005746185_76ebe69ae2_b.jpg?w=150&amp;h=102 150w, https:\/\/mmiranda96blog.files.wordpress.com\/2016\/11\/6005746185_76ebe69ae2_b.jpg?w=300&amp;h=203 300w, https:\/\/mmiranda96blog.files.wordpress.com\/2016\/11\/6005746185_76ebe69ae2_b.jpg?w=768&amp;h=521 768w\" sizes=\"(max-width: 461px) 100vw, 461px\" \/><figcaption class=\"wp-caption-text\">flickr photo by West Point &#8211; The U.S. Military Academy <a href=\"https:\/\/flickr.com\/photos\/west_point\/6005746185\" rel=\"nofollow\">https:\/\/flickr.com\/photos\/west_point\/6005746185<\/a> shared under a Creative Commons (BY-NC-ND) license<\/figcaption><\/figure><br \/>  <a rel=\"nofollow\" href=\"http:\/\/feeds.wordpress.com\/1.0\/gocomments\/mmiranda96blog.wordpress.com\/180\/\"><img alt=\"\" border=\"0\" src=\"http:\/\/feeds.wordpress.com\/1.0\/comments\/mmiranda96blog.wordpress.com\/180\/\" \/><\/a> <img alt=\"\" border=\"0\" src=\"https:\/\/pixel.wp.com\/b.gif?host=mmiranda96blog.wordpress.com&#038;blog=115150697&%23038;post=180&%23038;subd=mmiranda96blog&%23038;ref=&%23038;feed=1\" width=\"1\" height=\"1\" \/>","protected":false},"excerpt":{"rendered":"<p>Imagine that you finished a big, big, BIG project. You&#8217;re delivering it. The client sings the final check and shakes your hand, thankful. Two weeks later, you receive a call. It&#8217;s your lawyer. Your client wants to sue you because what you did is not what he asked for (at all). So&#8230; you have three &hellip; <a href=\"https:\/\/kenscourses.com\/tc1019fall2016\/syndicated\/software-verification-and-validation-14\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Software verification and validation<\/span><\/a><\/p>\n","protected":false},"author":5,"featured_media":181,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,4],"tags":[54,25,313],"class_list":["post-38571","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blogs","category-syndicated","tag-software","tag-tc1019","tag-validation"],"_links":{"self":[{"href":"https:\/\/kenscourses.com\/tc1019fall2016\/wp-json\/wp\/v2\/posts\/38571","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kenscourses.com\/tc1019fall2016\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kenscourses.com\/tc1019fall2016\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc1019fall2016\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc1019fall2016\/wp-json\/wp\/v2\/comments?post=38571"}],"version-history":[{"count":2,"href":"https:\/\/kenscourses.com\/tc1019fall2016\/wp-json\/wp\/v2\/posts\/38571\/revisions"}],"predecessor-version":[{"id":38753,"href":"https:\/\/kenscourses.com\/tc1019fall2016\/wp-json\/wp\/v2\/posts\/38571\/revisions\/38753"}],"wp:attachment":[{"href":"https:\/\/kenscourses.com\/tc1019fall2016\/wp-json\/wp\/v2\/media?parent=38571"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kenscourses.com\/tc1019fall2016\/wp-json\/wp\/v2\/categories?post=38571"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kenscourses.com\/tc1019fall2016\/wp-json\/wp\/v2\/tags?post=38571"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}