What is the coverage of the White Box Testing ?

Open 1 Answers 23 Views Technology
What is the coverage of the  White Box Testing ?

1 Answer

1. Code coverage

2. Segment coverage: Ensure that each code statement is executed once.

3. Branch Coverage or Node Testing: Coverage of each code branch in from all possible was.

4. Compound Condition Coverage: For multiple conditions test each condition with multiple paths and combination of the different path to reach that condition.

5. Basis Path Testing: Each independent path in the code is taken for testing.

6. Data Flow Testing (DFT): In this approach you track the specific variables through each possible calculation, thus defining the set of intermediate paths through the code.DFT tends to reflect dependencies but it is mainly through sequences of data manipulation. In short, each data variable is tracked and its use is verified. This approach tends to uncover bugs like variables used but not initialize, or declared but not used, and so on.

7. Path Testing: Path testing is where all possible paths through the code are defined and covered. It’s a time-consuming task.

8. Loop Testing: These strategies relate to testing single loops, concatenated loops, and nested loops. Independent and dependent code loops and values are tested by this approach.
by (251k points)