PHPUnit, DBUnit and their quirks
I utilize PHPUnit for my backend testing and have noticed a number of things whilst using it. I have outlined these below - hopefully they will help someone.
DBUnit, composite datasets and foreign keys
There is a bug in the PHPUnit source code which means that composite datasets are truncated