Making the Program Robust
We now have a running program that meets ther
spec.
But is it "robust"?
How do we find out?
Try to "break" it.
Testing a program like this for robustness involves several steps:
-
What can go wrong?
-
What happens if it does?
-
Sometimes nothing needs to be done.
-
If that is a problem, how can we detect it?
-
What can we do about it?
-
Tell the user.
-
Die gracefully
-
Recover reasonably.
Examples:
to Overview.