Whitebox Testing & Blackbox Testing

White box Testing:

  1. It is also called as glass box testing, clear box, and structural testing.
  2. It is based on the application’s internal code structure.
  3. In this, an internal perspective of the system and programming skills are used to design the test cases.
  4. In white box testing, the tester analyses the internal architecture of the system as well as the quality of the source code on different parameters like code optimization, coverage, reusability, etc.
  5. This testing usually was done at the unit level.
  6. The white box was done by developers. It is also called a glass, clear, or open box. Unite testing comes under white box testing.

Black box Testing:

  1. It is a process of testing a system component, considering input, output, and general function.
  2. The tester interacts with the system through the interface, providing input and validating the received output.
  3. It doesn’t require knowledge of internal program structure.
  4. In this, we test UI & backend ( coding/database)
  5. External actions are performed.
  6. Focus on what kind of input we need to provide and check whether the output meets the customer’s specifications or not. So it is called the specification-based technique. Done by testers. 
  7. Specification-based – black box techniques: