http://www.perlmonks.org?node_id=575859


in reply to Andy Lester Is My hero

But if you write a test, why put it in a Test:: test suite? Put it in a monitoring service. You want tests that tell you that something is wrong, instead of having a test you run when you've been informed by an angry customer that "it doesn't work".

That's what we do. When we have a problem and we realize that there could have been a test for it - we write a test and have nagios check the output. Preferable of course, we have the test before we first run into a problem, but we live in a real world and that doesn't always happen.

Replies are listed 'Best First'.
Re^2: Andy Lester Is My hero
by petdance (Parson) on Oct 07, 2006 at 23:57 UTC
    The kinds of things I was talking about as far as checking the website were beyond merely checking to see if the website is up, but actually doing a login to the site and checking the contents of the page.

    Another example was trying to log into the database with a default username/password, because I once got bitten by a DB upgrade re-adding default passwords, and I didn't know about it.

    And jk2addict, I'm glad you liked it.

    xoxo,
    Andy