in reply to Re^4: Auto-compile checking??? WTF?
in thread Auto-compile checking??? WTF?

In addition to stevieb++'s posting:

Test scripts can do more: You feed your code not only with expected input and test for correct output. But you also feed your code with intentionally bad input and test for correct error handling.

"Intentionally bad input" can be something simple as a string passed to a function that expects a number, or some random garbage instead of a well-formed input file. Or, it can be a test for a known error in an older version.

For example, have a look at the tests that come bundled with DBD::ODBC:

Alexander

--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)