|
From Test::Simple to Test::Extreme - Think Like A Bug
|
41
|
|
|
Split Personality
Try to forget how the code works, and what it is supposed to do
Try to "think outside the black box"
advantage of testing first
try to break the program
What are the boundary conditions?
What does the code do unintentionally?
What does the code not do?
Does the code fail gracefully?
What sort of bad input can we feed the code?
Brian Marick: The "who would want to do that?" bug
|
|