No such thing as a small change | |
PerlMonks |
Re^2: What goes in a test suite?by adrianh (Chancellor) |
on Aug 22, 2003 at 10:57 UTC ( [id://285741]=note: print w/replies, xml ) | Need Help?? |
That's certainly one thing that tests should do. But there are many more also (e.g. do you get appropriate error reporting when pre-condition is not met on a function, does the application as a whole exhibit appropriate behaviour, etc.) You might also want to look at Design By Contract as an alternative way of using pre-conditions, post-conditions and invariants in software development.
In Section
Seekers of Perl Wisdom
|
|