Professional, Intermediate, Novice User Guide for all of Us

A White colored Box

White box testing is a strategy in which testing is based on the internal paths, structure, and implementation of the software under test (SUT). Unlike its complement, black box testing, white box testing generally requires detailed programming skills.

The general white box testing process is:

  1. The SUT’s implementation is analyzed.
  2. Paths through the SUT are identified.
  3. Inputs are chosen to cause the SUT to execute selected paths. This is called path sensitization. Expected results for those inputs are determined.
  4. The tests are run.
  5. Actual outputs are compared with the expected outputs.
  6. A determination is made as to the proper functioning of the SUT.