Unit Testing

Home Study Material Unit Testing
Side Bar
Software Testing
sidedigital-img

This type of testing is performed by developers before the setup is handed over to the testing team to formally execute the test cases. Unit testing is performed by the respective developers on the individual units of source code assigned areas. The developers use test data that is different from the test data of the quality assurance team. 

The goal of unit testing is to isolate each part of the program and show that individual parts are correct in terms of requirements and functionality. 

Limitations of Unit Testing:  Testing cannot catch each and every bug in an application. It is impossible to evaluate every execution path in every software application. The same is the case with unit testing. 

There is a limit to the number of scenarios and test data that a developer can use to verify a source code. After having exhausted all the options, there is no choice but to stop unit testing and merge the code segment with other units.