{"id":37783,"date":"2016-10-18T21:32:05","date_gmt":"2016-10-19T02:32:05","guid":{"rendered":"http:\/\/hermesespinola.wordpress.com\/?p=1935"},"modified":"2016-10-18T21:32:05","modified_gmt":"2016-10-19T02:32:05","slug":"software-testing-3","status":"publish","type":"post","link":"https:\/\/kenscourses.com\/tc1019fall2016\/syndicated\/software-testing-3\/","title":{"rendered":"Software Testing"},"content":{"rendered":"<p>Testing? Who has time for that? Said most programmers in history.<\/p>\n<p>Testing is actually one of the most important steps in the software development life cycle, software testing is the process of executing an application or program with the intent of<br \/>\nfinding software bugs. It also can be used to see if the intentions of the software were made, validate or verify\u00a0that the program works as expected.<\/p>\n<div data-shortcode=\"caption\" id=\"attachment_1977\" style=\"width: 710px\" class=\"wp-caption aligncenter\"><img class=\"alignnone size-full wp-image-1977\" src=\"https:\/\/hermesespinola.files.wordpress.com\/2016\/10\/code.jpg?w=842\" alt=\"code\"   \/><p class=\"wp-caption-text\">Via 9gag :v<\/p><\/div>\n<p>Testing can be classified in two types, static and dynamic. Static is the examination of the program\u2019s source code, is somewhat implicit because text editors automatically check \u00a0source code and syntax, so the program is not needed to be running for this kind of testing. On the contrary, dynamic testing involves the examination of the software when is running, and is used to verify that the program works according to the functional requirements.<\/p>\n<p>There are different software testing approaches and I&#8217;ll only cover a few here, these test are implemented in the order specified:<\/p>\n<ol>\n<li>Unit test\n<ul>\n<li>The most basic testing mechanism at the developer level.<\/li>\n<li>Narrow and well defined scope.<\/li>\n<li>Isolate the code from outside interaction.<\/li>\n<li>Focuses on very small unit of functionality.<\/li>\n<li>Dependencies are hard coded while testing.<\/li>\n<li>We need to check further that when these units are combined they work in a cohesive manner which lead us to the next testing approach.<\/li>\n<\/ul>\n<\/li>\n<li>Integration test\n<ul>\n<li>Developer level.<\/li>\n<li>Mechanism to test the inter-operation of smaller units.<\/li>\n<li>Test modules which access network, databases and file systems<\/li>\n<li>Reveal the issues related to network modules or databases, and more importantly, in the connections between smaller units of code.<\/li>\n<\/ul>\n<\/li>\n<li>Functional test\n<ul>\n<li>Check for the correctness of the output with respect to the input defined in the specification.<\/li>\n<\/ul>\n<\/li>\n<li>Smoke test\n<ul>\n<li>A simple test is done from the start typically after a fresh installation and newer <div class=\"post-limited-image\"><img alt=\"\" border=\"0\" src=\"http:\/\/feeds.wordpress.com\/1.0\/comments\/hermesespinola.wordpress.com\/1935\/\" \/><\/div>\n<div class=\"post-limited-image\"><img alt=\"\" border=\"0\" src=\"https:\/\/pixel.wp.com\/b.gif?host=hermesespinola.wordpress.com&#038;blog=98753526&%23038;post=1935&%23038;subd=hermesespinola&%23038;ref=&%23038;feed=1\" width=\"1\" height=\"1\" \/><\/div><!--more--> values.<\/li>\n<li>Crashes are there to indicate trouble.<\/li>\n<\/ul>\n<\/li>\n<li>Regression test\n<ul>\n<li>TBugs that typically which affect the core areas of the system.<\/li>\n<li>Retest all the modules of the system.<\/li>\n<\/ul>\n<\/li>\n<li>Acceptance test\n<ul>\n<li>Every feature is checked from the user\u2019s perspective by the testing team and the feature is marked accepted or rejected.<\/li>\n<li>Test the application from end user\u2019s perspective like detecting crashes after going through a certain flow.<\/li>\n<li>The results of these tests are very subjective in nature and it takes a while to figure out the exact issue in the code.<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<p><strong>Source:<\/strong><\/p>\n<div class=\"embed-clicklabs\">\n<blockquote class=\"wp-embedded-content\"><a href=\"http:\/\/click-labs.com\/6-different-types-software-testing-methodologies\/\">6 Different Types of Software Testing Methodologies<\/a><\/p><\/blockquote>\n<p><script type='text\/javascript'><!--\/\/--><![CDATA[\/\/><!--\t\t!function(a,b){\"use strict\";function c(){if(!e){e=!0;var a,c,d,f,g=-1!==navigator.appVersion.indexOf(\"MSIE 10\"),h=!!navigator.userAgent.match(\/Trident.*rv:11.\/),i=b.querySelectorAll(\"iframe.wp-embedded-content\");for(c=0;c<i.length;c++)if(d=i[c],!d.getAttribute(\"data-secret\")){if(f=Math.random().toString(36).substr(2,10),d.src+=\"#?secret=\"+f,d.setAttribute(\"data-secret\",f),g||h)a=d.cloneNode(!0),a.removeAttribute(\"security\"),d.parentNode.replaceChild(a,d)}else;}}var d=!1,e=!1;if(b.querySelector)if(a.addEventListener)d=!0;if(a.wp=a.wp||{},!a.wp.receiveEmbedMessage)if(a.wp.receiveEmbedMessage=function(c){var d=c.data;if(d.secret||d.message||d.value)if(!\/[^a-zA-Z0-9]\/.test(d.secret)){var e,f,g,h,i,j=b.querySelectorAll('iframe[data-secret=\"'+d.secret+'\"]'),k=b.querySelectorAll('blockquote[data-secret=\"'+d.secret+'\"]');for(e=0;e<k.length;e++)k[e].style.display=\"none\";for(e=0;e<j.length;e++)if(f=j[e],c.source===f.contentWindow){if(f.removeAttribute(\"style\"),\"height\"===d.message){if(g=parseInt(d.value,10),g>1e3)g=1e3;else if(~~g<200)g=200;f.height=g}if(\"link\"===d.message)if(h=b.createElement(\"a\"),i=b.createElement(\"a\"),h.href=f.getAttribute(\"src\"),i.href=d.value,i.host===h.host)if(b.activeElement===f)a.top.location.href=d.value}else;}},d)a.addEventListener(\"message\",a.wp.receiveEmbedMessage,!1),b.addEventListener(\"DOMContentLoaded\",c,!1),a.addEventListener(\"load\",c,!1)}(window,document);\/\/--><!]]&gt;<\/script><iframe sandbox=\"allow-scripts\" security=\"restricted\" src=\"http:\/\/click-labs.com\/6-different-types-software-testing-methodologies\/embed\/\" width=\"600\" height=\"338\" title=\"&#8220;6 Different Types of Software Testing Methodologies&#8221; &#8212; Click Labs\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\" class=\"wp-embedded-content\"><\/iframe><\/div><br \/>  <a rel=\"nofollow\" href=\"http:\/\/feeds.wordpress.com\/1.0\/gocomments\/hermesespinola.wordpress.com\/1935\/\"><img alt=\"\" border=\"0\" src=\"http:\/\/feeds.wordpress.com\/1.0\/comments\/hermesespinola.wordpress.com\/1935\/\" \/><\/a> <img alt=\"\" border=\"0\" src=\"https:\/\/pixel.wp.com\/b.gif?host=hermesespinola.wordpress.com&#038;blog=98753526&%23038;post=1935&%23038;subd=hermesespinola&%23038;ref=&%23038;feed=1\" width=\"1\" height=\"1\" \/>","protected":false},"excerpt":{"rendered":"<p>Testing? Who has time for that? Said most programmers in history. Testing is actually one of the most important steps in the software development life cycle, software testing is the process of executing an application or program with the intent of finding software bugs. It also can be used to see if the intentions of &hellip; <a href=\"https:\/\/kenscourses.com\/tc1019fall2016\/syndicated\/software-testing-3\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Software Testing<\/span><\/a><\/p>\n","protected":false},"author":27,"featured_media":1977,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,4],"tags":[44],"class_list":["post-37783","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blogs","category-syndicated","tag-sin-categoria"],"_links":{"self":[{"href":"https:\/\/kenscourses.com\/tc1019fall2016\/wp-json\/wp\/v2\/posts\/37783","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\/27"}],"replies":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc1019fall2016\/wp-json\/wp\/v2\/comments?post=37783"}],"version-history":[{"count":3,"href":"https:\/\/kenscourses.com\/tc1019fall2016\/wp-json\/wp\/v2\/posts\/37783\/revisions"}],"predecessor-version":[{"id":37853,"href":"https:\/\/kenscourses.com\/tc1019fall2016\/wp-json\/wp\/v2\/posts\/37783\/revisions\/37853"}],"wp:attachment":[{"href":"https:\/\/kenscourses.com\/tc1019fall2016\/wp-json\/wp\/v2\/media?parent=37783"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kenscourses.com\/tc1019fall2016\/wp-json\/wp\/v2\/categories?post=37783"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kenscourses.com\/tc1019fall2016\/wp-json\/wp\/v2\/tags?post=37783"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}