Back to Course
Testing Techniques

White Box Testing

What is White Box Testing?

White box testing (also called structural or glass-box testing) examines the internal code structure, logic, and paths of an application, rather than just its outputs.

Key Characteristics

  • Requires programming knowledge to design test cases based on the code itself.
  • Focuses on statement coverage, branch coverage, and path coverage.
  • Typically performed by developers during unit and integration testing.
  • Helps optimise code, remove dead code, and uncover hidden logical errors.

Common White Box Techniques

  • Statement coverage testing.
  • Branch/decision coverage testing.
  • Path coverage testing.
  • Loop testing.

Ready to master real-world software testing?

Learn manual and automation testing hands-on with mentor-led sessions.

Explore Course