Unit Testing Research Paper

3339 Words14 Pages

INTRODUCTION TO TESTING:
Testing is a process used to help identify the correctness, completeness and quality of developed computer software. The purpose of testing is to discover errors. Testing is the process of trying to discover every conceivable fault or weakness in a work product. It provides a way to check the functionality of components, sub assemblies, assemblies and/or a finished product It is the process of exercising software with the intent of ensuring that the Software system meets its requirements and user expectations and does not fail in an unacceptable manner. There are various types of test. Each test type addresses a specific testing requirement. Testing is the debugging program is one of the most critical aspects of …show more content…

Unit testing should be done before Integration testing. Unit testing should be done by the developers.
Advantages of Unit testing:
1. Issues are found at early stage. Since unit testing are carried out by developers where they test their individual code before the integration. Hence the issues can be found very early and can be resolved then and there without impacting the other piece of codes.
2. Unit testing helps in maintaining and changing the code. This is possible by making the codes less interdependent so that unit testing can be executed. Hence chance of impact of changes to any other code gets reduced.
3. Since the bugs are found early in unit testing hence it also helps in reducing the cost of bug fixes. Just imagine the cost of bug found during the later stages of development like during system testing or during acceptance testing.
4. Unit testing helps in simplifying the debugging process. If suppose a test fails then only latest changes made in code needs to be debugged.
Unit testing is usually conducted as part of a combined code and unit test phase of the software lifecycle, although it is not uncommon for coding and unit testing to be conducted as two distinct …show more content…

• Boundary Value Testing: Boundary value testing is focused on the values at boundaries. This technique determines whether a certain range of values are acceptable by the system or not. It is very useful in reducing the number of test cases. It is mostly suitable for the systems where input is within certain ranges.
• Decision Table Testing: A decision table puts causes and their effects in a matrix. There is unique combination in each column.
Acceptance Testing:
A functional trial performed on a product before it is put on the market or delivered to the purchaser. The acceptance testing process is designed to replicate the anticipated real-life use of the product to ensure that what the consumer or end user receives is fully functional and meets their needs and expectations. After the system test has corrected all or most defects, the system will be delivered to the user or customer for acceptance

More about Unit Testing Research Paper

Open Document