{"id":1475,"date":"2018-07-19T14:35:01","date_gmt":"2018-07-19T14:35:01","guid":{"rendered":"https:\/\/www.h2kinfosys.com\/blog\/?p=1475"},"modified":"2025-03-07T08:19:58","modified_gmt":"2025-03-07T13:19:58","slug":"compliance-testing-unit-testing","status":"publish","type":"post","link":"https:\/\/www.h2kinfosys.com\/blog\/compliance-testing-unit-testing\/","title":{"rendered":"COMPLIANCE TESTING AND UNIT TESTING"},"content":{"rendered":"<p>There are more than hundred different software testing variations that can be listed. The list is available at the below links:<\/p>\n<p><a href=\"https:\/\/www.h2kinfosys.com\/blog\/100-software-testing-types-set1\/\">types of testing &#8211; set1<\/a><\/p>\n<p><a href=\"https:\/\/www.h2kinfosys.com\/blog\/100-software-testing-types\/\">types of testing &#8211; set2<\/a><\/p>\n<p>In this article, two of the types &#8211; compliance testing and unit testing are described.<\/p>\n<h2><b>COMPLIANCE TESTING:<\/b><\/h2>\n<p><b> <\/b>Compliance testing is also called as conformance testing. It is a testing technique or method where the application after completely developed and tested with all other testing tools and methods. Then sent to the concerned organisation (eg: IEEE) to check that the software meets a set of Standards. Once certified with that to release to the production. In general it is a validation of system\u2019s processes and operational outcomes which comply to the rules and regulations. For example a credit card agency tests its service compliance with the security regulations.<\/p>\n<h2><b>UNIT TESTING:<\/b><\/h2>\n<p><b> <\/b>Unit testing is technique of testing each smallest unit &#8211; a program independently. Developer does the unit testing as it involves one or two input and one output. A smallest part of code that is in workable condition is referred as units and the testing done to those units termed as unit testing. All syntactic errors are removed here. This testing is done prior to the integration testing . It improves the reusable capacity of the code and increases the confidence in the code changes they are made less interdependent. As the testing is conducted at every part or unit of the code the effort to find and fix the defects is less. The main goal of unit testing is to cut off each part of code and show that the individual portion of the code works correctly. For Example: we are testing a function with a condition or loop whether it works correctly or not. There are different tools to do unit testing for different software languages like JUNIT for java programming languages an XUNIT is for ASP, C#, C++ etc. The unit testing is conducted by the developers.<\/p>\n<p>Unit testing is a <a href=\"https:\/\/www.h2kinfosys.com\/blog\/white-box-testing\/\">white box testing<\/a>. The test design techniques like <a href=\"https:\/\/www.h2kinfosys.com\/blog\/statement-coverage-testing\/\">statement coverage<\/a> and <a href=\"https:\/\/www.h2kinfosys.com\/blog\/decision-testing\/\">decision coverage<\/a> are used to perform the unit testing.<\/p>\n<h2><b>Check your understanding:\u00a0<\/b><\/h2>\n<p>1. Write the examples of the scenarios\/ software for each of above different types of testing.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>There are more than hundred different software testing variations that can be listed. The list is available at the below links: types of testing &#8211; set1 types of testing &#8211; set2 In this article, two of the types &#8211; compliance testing and unit testing are described. COMPLIANCE TESTING: Compliance testing is also called as conformance [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":7571,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[214,110,108],"class_list":["post-1475","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-qa-tutorials","tag-compliance-testing","tag-unit-testing","tag-white-box-testing"],"_links":{"self":[{"href":"https:\/\/www.h2kinfosys.com\/blog\/wp-json\/wp\/v2\/posts\/1475","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.h2kinfosys.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.h2kinfosys.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.h2kinfosys.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.h2kinfosys.com\/blog\/wp-json\/wp\/v2\/comments?post=1475"}],"version-history":[{"count":0,"href":"https:\/\/www.h2kinfosys.com\/blog\/wp-json\/wp\/v2\/posts\/1475\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.h2kinfosys.com\/blog\/wp-json\/wp\/v2\/media\/7571"}],"wp:attachment":[{"href":"https:\/\/www.h2kinfosys.com\/blog\/wp-json\/wp\/v2\/media?parent=1475"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.h2kinfosys.com\/blog\/wp-json\/wp\/v2\/categories?post=1475"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.h2kinfosys.com\/blog\/wp-json\/wp\/v2\/tags?post=1475"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}