
Originally Posted by
sridharrganesan
Hi,
Unit Testing is the White Box Testing Technique.
Unit testing is done against the code and it is done prior to it goes out for System or Performance testing. While doing unit testing the developers will validate the code using the following ways:
1. statement coverage: Here it will be tested that all the statements in the code is necessary and if there are any unwanted line of code it is removed, and code efficiency is increased by this way
2. Decision coverage or branch coverage - here it is tested that all the branch decisions are executed atleast once.
3. Condition coverage- here the condition loop is tested for both the true and false conditions are executed as per the requirement.
When Bugs are marked for the applicaiton while doing system or performance testing, and the bugs are fixed by the developer and once again the unit testing is carried out before deployed for functional or performance testing.
Regards,
Ganesan