Bastian's Blog ~~~~~~~~~~~~~~ :Author: lapis :Date: Sat, 05 May 2012 20:47:04 +0200 :Copyright: CC by-nc-sa ======= PHPUnit ======= - Introduction to wsunit Testing interactions with data providers via Http (e.g. webservices) is an essential thing to ensure the service has not changed it's dataformat or even worse is not reachable at all. In both cases you want to be the first to now and probably be able to fix this before your customer finds out. So you write integration tests and run then as a different job in youe continuous integration environment. So far so good. But then you are as lazy as I am and hate doing work more than once. This is where WSUnit gets handy. - PHPUnit - Some lesser known features As I am a bit obsessed with testing and unit testing in particular. As I am also a trainer I am trying to watch people on how they do solve different problems in their daily work. Doing this I recognized that almost everyone does not read any documentation nor has the drive to know more about the tools he is using, and stays in his boundaries of knowleadge until someone hits his nose against other possibilities. This is kind of the article is about - getting to know PHPUnit a bit more and be aware of it's nice and problem solving features.