Essay about Testing Is A Software Testing

2174 Words Apr 3rd, 2016 9 Pages
Unit Testing
Unit testing is “a software testing method by which individual units of source code, sets of one or more computer program modules together with associated control data, usage procedures, and operating procedures, are tested to determine whether they are fit for use.” (Automated Defect Prevention, 2007)
Unit testing is the testing of the components of a software individually to ensure its wholeness and quality. This white-box type of testing is generally done on the smallest separated module in isolation but this may vary by team to team with regards to their specifications of test plans. In Layman’s terms, unit testing is testing a house brick by brick and not as a whole. It is done at the coding level and makes sure that the module is robust and works well during integration.

Objectives
Unit testing is done to make sure if,
• The program or the code functions properly.
• The integrity of the code is strong if there is a need of refactoring.
• The module is fit for integration.
Types:
There are various types of unit testing depending on the needs of the test team and what they are testing for.
• To find defects
Unit Testing can be done to find bugs or errors since it is better they are detected at an early stage.
• To detect regressions
Regressions are instances when some components or units of the software stop working unexpectedly. Testing can be done to find these regressions.
• To improve the quality of the code
Software can be improved and made more…

Related Documents