Saturday, 13 July 2013

Unit testing

Unit testing

Unit testing is also known as component testing, refers to test that verify the functionality of a specific portion of code at the function level. In an object oriented environment the minimal unit tests include the constructors and destructive.

Unit tests are written by developers as they work on code, to ensure that specific function is working as expected.

One function may have many tests to catch branches of the code. Unit testing cannot alone verify the functionality of software, but it is used to ensure the building blocks of software work independently of each other.


Unit testing is a software development process that involves synchronized application of a brand spectrum of defect prevention and detection strategies in order to reduce software development risk and time. It is applied by software developer or engineer during construction of software development life cycle.

The aims of Unit testing are to eliminate construction errors before is code promoted to the quality assurance. By removing construction errors the quality of software increases as well as the efficiency of the overall development and quality assurance process.

 Unit testing include static code, metrics, data flow analysis metrics, peer code reviews andcode coverage analysis and other software verification practices. 
other types of testing are:

No comments:

Post a Comment