Techniques for White Box Testing

by Nataliia Vasylyna | September 30, 2011 12:30 pm

Linear Code Sequence and Jump Testing

Design
Test cases should be designed to exercise Linear Code Sequence and Jump.

For every test case these should be clarified:

Analysis
Linear Code Sequence and Jump testing uses such model of the source code which recognizes control flow jumps (in such cases where control flow doesn’t pass to a sequential statement).

An Linear Code Sequence and Jump is determined by a triple, conditionally identified by line numbers in a source code listing:

Modified Condition Decision Testing

Design
Test cases should be designed to show that Boolean operands within a decision condition may independently influence the result of the decision.

For every test case these should be clarified:

Analysis
Modified Condition Decision Testing uses such model of the source code which recognizes decisions, outcomes, and the individual Boolean operands within the decision conditions. A decision is feasible statement which can transmit control to another statement. It depends on the logic of the decision statement. A decision condition is a Boolean expression which is estimated to define the result of a decision. Normal decisions are found in loops and selections.

Branch Condition Combination Testing

Design
Test cases should be designed to exercise combinations of Boolean operand values within decision conditions.

For every test case these should be clarified:

Analysis
Branch Condition Combination Testing uses such model of the source code which recognizes decisions and the individual Boolean operands within the decision conditions. A decision is feasible statement which can transmit control to another statement. It depends on the logic of the decision statement. A decision condition is a Boolean expression which is estimated to define the result of a decision. Normal decisions are found in loops and selections.

Learn more from QATestLab

Related Posts:

Endnotes:
  1. Black-Box Testing vs White-Box Testing: https://blog.qatestlab.com/2012/01/16/black-box-testing-white-box-testing-what-is-the-same-and-what-is-different/
  2. What Is The Difference Between White Box, Black Box And Gray Box Testing?: https://blog.qatestlab.com/2011/11/21/what-is-the-difference-between-white-box-black-box-and-gray-box-testing/
  3. What Is API Testing?: https://blog.qatestlab.com/2017/03/15/application-programming-interface/

Source URL: https://blog.qatestlab.com/2011/09/30/white-box-test-techniques-linear-code-sequence-and-jump-testing/