Can any body help me out by giving clear idea about test cases related to white box testing

Showing Answers 1 - 5 of 5 Answers

Test cases in White box are similar to Black box , but before they start writing the test cases , the developer need to find the complexity of the program by applying the formula v(g)=(n-e)+2, and check if he gets the same number in finding the paths. Then he can be able to write the test cases. And the test cases will be written in all about the flow of the program.     

  Was this answer useful?  Yes

YES , The cyclomatic complexity of a software module is calculated from a connected graph of the module (that shows the topology of control flow within the program):

Cyclomatic complexity (CC) = E - N + p

where E = the number of edges of the graph

N = the number of nodes of the graph

p = the number of connected components

OR

CC= Number of closed loops + 1

  Was this answer useful?  Yes

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