Domesticated Brain

White Box Testing


White box testing is a method of software testing that can be used to examine the internal structure or internal coding of an application or a programing component. Unlike black box testing testers will not be able to find out any missing functionality of the software application being developed. It’s also capable of applying at the following level of software testing such as unit, integration, system testing. White box testing also termed as structural testing, Glass box testing, and clear box testing. When software testers using white box testing for software testing in software QA they need to have an appropriate knowledge level about the programing and also the programing language which has used to develop the system. The tester develops inputs for testing and run through the code and examines the out puts that are same as expected.


Advantages of white box testing


It’s possible to start white box testing at the initial stages of the software development life cycle. It means that the testers can start the software testing process before the development has been finished. It helps to speed up the development process and also more efficient.

Ability to optimize the performance of the program as it helps to identify and remove hidden errors.


Disadvantages of White Box Testing


White box testing is much expensive to perform and time consuming as it requires skilled individuals to perform.

Testers need to have broad knowledge about the programming language to perform white box testing.  Therefore end users will not be able participate in testing process.


The following parts of a program can be covered by white box testing


White box testing covers each and every line of the source code

Each and every conditional statement in the program also can be tested using white box testing

Every loop otherwise known as iteration in the program can be tested too.