Testing Approaches - White Box Testing Flashcards
What is White Box Testing?
Testing technique that evaluates code and internal structure
What is verified in White Box Testing?
Internal security holes, code flow, expected output, and loops.
What are the basic steps in White Box Testing?
Understand source code, create test cases, and execute
What is Statement Coverage?
Testing each statement/line of code at least once
What is Branch Coverage?
Testing each/true false branch of conditional statements
What is Path Coverage?
Testing all possible paths through code
Why perform White Box Testing?
Ensure all paths exercised, verify logic, and find bugs
Does White Box Testing require programming skills?
Yes
Knowledge of programming languages and logic is required
What is a limitation of White Box Testing?
Difficult to test all path for large systems
What are some types of White Box Testing?
Unit Testing, Memory Leak Testing, Penetration Testing, Mutation Testing
What is Unit Testing?
Testing individual units/components of code as they are developed
What is Integration Testing?
Testing how individual units interact when integrated
What is Memory Leak Testing?
Detecting memory leaks that cause applications to run slowly
What is Mutation Testing?
Modifying code to test quality of existing text cases
What is Regression Testing?
Re-testing after code changes to detect new defects