White Box Testing - Learn the Unknowns
While most testers are familiar with the principles of black box testing in which test cases are derived from system requirements and specifications, fewer are familiar with white box testing in which test cases are derived from system design and code. Lee Copeland introduces you to the world of white box testing including its definition, applicability, advantages, and disadvantages.
Discover the theory of control flow graphing and it’s applicability to testing. Learn how to convert any computer program into a control flow graph, and then analyze that graph to create effective test cases. Analyze the eight levels of test coverage and determine which is best for your particular system. Learn about the cyclomatic complexity metric and basis path testing as a way to ensure good test coverage of your system components.
Examine the powerful but lesser used concept of data flow testing in which the definition, usage, and destruction of program variables is mapped onto the control flow graph to uncover difficult to detect code errors that create havoc in reliable system operation. Review some of the tools available to assist you.
Add the white box testing techniques to your tester’s toolbox to enhance your testing skills.