- QATestLab Blog >
- QA Basics >
- Techniques for White Box Testing
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:
- the input to the component
- identification of the Linear Code Sequence and Jump to be performed by the test case
- the expected result of the test case
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:
- the start of the linear code sequence
- the end of the linear code sequence
- the target line to which control flow is transferred
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:
- the input to the component
- for each decision estimated by the test case identification of the combination of Boolean operands, their values, and the result of the decision
- the expected result of the test case
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:
- the input to the component
- for every decision estimated by the test case identification of the combination of Boolean operands and their values
- the expected result of the test case
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:
- Black-Box Testing vs White-Box Testing
- What Is The Difference Between White Box, Black Box And Gray Box Testing?
- What Is API Testing?
No Comments Yet!
You can be the one to start a conversation.