{"id":617,"date":"2023-03-02T15:51:07","date_gmt":"2023-03-02T15:51:07","guid":{"rendered":"https:\/\/blogs.glowscotland.org.uk\/es\/software\/?page_id=617"},"modified":"2023-09-07T14:37:20","modified_gmt":"2023-09-07T13:37:20","slug":"testing","status":"publish","type":"page","link":"https:\/\/blogs.glowscotland.org.uk\/es\/software\/software-design-and-development\/week-8\/testing\/","title":{"rendered":"Testing"},"content":{"rendered":"\n<p>In the design phase you designed a test plan. In the testing phase you carry out that plan and record the results.<\/p>\n\n\n\n<p>You should keep a changelog as part of your project documentation that records:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>any bugs or errors found during the test<\/li>\n\n\n\n<li>the date on which they were found<\/li>\n\n\n\n<li>the change proposed to fix the issue<\/li>\n<\/ul>\n\n\n\n<p>If an error is encountered, then there are tools that can be used to help locate and fix the problem.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"907\" height=\"985\" src=\"https:\/\/blogs.glowscotland.org.uk\/es\/public\/software\/uploads\/sites\/4063\/2023\/09\/07143649\/Py55.png\" alt=\"Example of a completed test table\" class=\"wp-image-1359\" srcset=\"https:\/\/blogs.glowscotland.org.uk\/es\/public\/software\/uploads\/sites\/4063\/2023\/09\/07143649\/Py55.png 907w, https:\/\/blogs.glowscotland.org.uk\/es\/public\/software\/uploads\/sites\/4063\/2023\/09\/07143649\/Py55-276x300.png 276w, https:\/\/blogs.glowscotland.org.uk\/es\/public\/software\/uploads\/sites\/4063\/2023\/09\/07143649\/Py55-768x834.png 768w\" sizes=\"auto, (max-width: 907px) 100vw, 907px\" \/><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-css-opacity\" \/>\n\n\n\n<p>Any test methodology used for testing your system should be done in a comprehensive and systematic manner.<\/p>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<h3 class=\"wp-block-heading\">Comprehensive<\/h3>\n\n\n\n<p>All parts of the system (everything) are tested. Checking that normal, extreme and exceptional data can be handled by the system.<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<h3 class=\"wp-block-heading\">Systematic<\/h3>\n\n\n\n<p>The testing is done in a logical order according to a plan.<\/p>\n<\/div>\n<\/div>\n\n\n\n<hr class=\"wp-block-separator has-css-opacity\" \/>\n\n\n\n<h2 class=\"wp-block-heading\">Types of Error<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Logic Error<\/h3>\n\n\n\n<p>The code runs, but the outcome does not achieve what was expected. For example, using a &gt; instead of &gt;= in an if statement.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Syntax Error<\/h3>\n\n\n\n<p>The code is unlikely to run due to a typo or incorrect syntax. For example, missing the colon at the end of an if statement.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Execution Error<\/h3>\n\n\n\n<p>The program crashes during use. This can happen when you try to access a list item that doesn\u2019t exist or divide by 0.<\/p>\n\n\n\n<p class=\"nextlink\"><a href=\"https:\/\/blogs.glowscotland.org.uk\/es\/software\/software-design-and-development\/week-8\/testing-tools\/\" data-type=\"page\" data-id=\"623\">Next: Testing tools<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the design phase you designed a test plan. In the testing phase you carry out that plan and record the results. You should keep a changelog as part of your project documentation that records: If an error is encountered, then there are tools that can be used to help locate and fix the problem.&hellip; <a class=\"more-link\" href=\"https:\/\/blogs.glowscotland.org.uk\/es\/software\/software-design-and-development\/week-8\/testing\/\">Continue reading <span class=\"screen-reader-text\">Testing<\/span><\/a><\/p>\n","protected":false},"author":5710,"featured_media":0,"parent":28,"menu_order":1,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-617","page","type-page","status-publish","hentry","entry"],"_links":{"self":[{"href":"https:\/\/blogs.glowscotland.org.uk\/es\/software\/wp-json\/wp\/v2\/pages\/617","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.glowscotland.org.uk\/es\/software\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/blogs.glowscotland.org.uk\/es\/software\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.glowscotland.org.uk\/es\/software\/wp-json\/wp\/v2\/users\/5710"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.glowscotland.org.uk\/es\/software\/wp-json\/wp\/v2\/comments?post=617"}],"version-history":[{"count":5,"href":"https:\/\/blogs.glowscotland.org.uk\/es\/software\/wp-json\/wp\/v2\/pages\/617\/revisions"}],"predecessor-version":[{"id":1361,"href":"https:\/\/blogs.glowscotland.org.uk\/es\/software\/wp-json\/wp\/v2\/pages\/617\/revisions\/1361"}],"up":[{"embeddable":true,"href":"https:\/\/blogs.glowscotland.org.uk\/es\/software\/wp-json\/wp\/v2\/pages\/28"}],"wp:attachment":[{"href":"https:\/\/blogs.glowscotland.org.uk\/es\/software\/wp-json\/wp\/v2\/media?parent=617"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}