Sometimes called glass-box testing, white box testing is a method of designing test cases for a piece of code. White-box testing can guaruntee that all independent paths (see cyclomatic complexity) within a module have been executed at least once.

See also:Software engineering, black box testing