cucumber-nagios allows you to write high-level behavioural tests of web application, and plug the results into Nagios.