Has anyone employed automated testing of their code?

I’m beginning to feel the need to automatically test my code to ensure there are no regressions/new code doesn’t break existing code. This is especially true of HTTP functions.

I’m thinking I could develop a system based on hourly cron jobs and email myself test failures (perhaps rate limited to once a day), but rolling my own solution presents its own problems; it’ll be extra work to develop and it’d likely be just another thing I’d have to debug at least in the beginning.

I don’t want to get particularly deep/thorough; I just want to load a web page or HTTP function and make sure the results look sane, that some expected data is present and the whole thing isn’t blowing up with a server error or something.

Does anyone have any experience with this and have something better? Free external tools would be fine.

Hi lee,

What you want is only testing your endpoint right? no integration testing nor unit testing?

I imagine there a plenty of solution online. I’ve never use one yet but I’m also interested to know if you find an interesting service.