Describe how the structural/basis testing applies the given control flow graph of a program for test case design

Showing Answers 1 - 6 of 6 Answers

Structural test techniques are those that use the implementation or structure of the built software to derive test cases. Examples of structural test techniques are statement testing, branch testing, linear code sequence and jump (LCSAJ) testing.

  Was this answer useful?  Yes

Structural testing is another name for white box testing, and control flow graphs (CFGs) provide a graphic view of the code in order to capture the various ways in which a program can execute.  A node in a CFG represents a program statement.  An edge in the CFG represents the capacity for a program flow from its current statement to another.  If an edge is associated with a conditional, label the edge with the conditional’s value, either true or false.  By plotting the paths through a CFG, you can capture the various ways in which a program can execute.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions