Internal strcutre design and coding of software are tested
code is visible to tester hence called clearbox testing / openbox / transparent box / glassbox testing
Testers can see and understand inner workings of the code to easily spot bugs better
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
Code structure is not visible to testers
cannot see inner workings of the software
Functional validity , system behaviour and performance