A predicate node is the one that represents a decision point that contains a condition after which the graph splits. Each node represents a sequence of statements, or a decision point. Design test cases corresponding to each independent pathįlow graph notation: It is a directed graph consisting of nodes and edges.Make the corresponding control flow graph.Basis Path Testing: In this technique, control flow graphs are made from code or flowchart and then Cyclomatic complexity is calculated which defines the number of independent paths so that the minimal number of test cases can be designed for each independent path.Similarly, if there are n conditions then 2 n test cases would be required. Hence, four test cases required for two individual conditions.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |