In White Box testing you test for Memory Leaks, Coverag and Performance of code.
I am giving below one example of each heading.
Ex: The developer would have defined a pointer and used the same in code. He would have forgot to deallocate the pointer / free the memory assigned then that would lead to application to consume the system disk space and would lead to crash of application.
Ex: When you execute the Negative and Positive scenarios to test the entire application. The Coverage of code shold be 100%, if it is not so then the appliation is having some underlying code, which isnot executing at any point of view. This would lead to the performance issue of the application.
Performance of Code:
Ex: The time taken by eath function / Loop / Condition statement etc., should be checked. The goal wold be to to find out if any better way to write the same peace of code etc., etc.,
I think the above examples should give an overall idea of White Box Testing [img]images/icons/smile.gif[/img]
If you want a high quality software system, you must ensure each of its parts is of high quality. by Watts S. Humphrey