THE GARDEN
Updated 06 Sep 2026
def
a testing method that focuses on the internal structure, code, and logic of the product being tested
also known as: open box, glass box, transparent box, clear box, or code-based testing
purpose
check code and internal structure
examine input-output processes with focus on internal workings
what it looks for
broken or unoptimized code
security vulnerabilities
workflow and scenarios for specific input processes
conditional loop issues
object malfunction
wrong output
steps
step 1 — study the source code; understand the application; check for secure coding practices
step 2 — create and execute test cases to spot weaknesses
techniques
path testing
loop testing
condition testing
matrix graph testing
testing from the memory perspective
graph matrices
a square matrix whose size equals the number of nodes on the flow graph
rows and columns correspond to identified nodes; entries correspond to edges
link weight provides additional control flow information (1 = connection exists, 0 = does not)
who performs it
typically performed by developers
related
Software Testing
Black Box Testing
Unit Testing
Distinguish white box testing from black box testing.
white box: tests internal logic/code structure, tester knows the implementation; black box: tests functionality via inputs/outputs only, tester doesn't need to know the code
◌ Explore connections in Graph view
Paths through the garden