12.04 Blackbox, Whitebox Testing

Whitebox testing

Technique What the heck
Statement Coverage Aims at exercising all programming statements with minimal tests
Branch Coverage Ensures that all branches are tested at least once
Path Coverage Involves testing all possible paths, covering each statement and branch
Basic Path Testing This method uses cyclomatic complexity to determine a basis set of linearly independent paths and derives test cases to force the execution of each path in this set.It should be applied to critical modules
Control Structure Testing Exercises the logical conditions within a program module and includes techniques like Condition testing and Data flow testing
Data Flow Testing Selects test paths based on the locations of definitions and uses of variables in the program
Loop Testing Addresses testing for simple, nested, concatenated, and unstructured loops, focusing on different numbers of loop passes

Blackbox Testing

Pasted image 20250504230602.png

Tags

#blackbox-testing #whitebox-testing #unit-4