Check out my visual testing tool https://diffy.website. It helps to save testing time during deployments and development.
There are a lot of articles on internet about functional PHP. There is very nice presentation about it http://munich2012.drupal.org/program/sessions/functional-php that was held in Munich.
I was thinking about applying techniques to every-day coding and came up with two quite useful examples.