PHPChunkit breaks your PHPUnit Unit Tests into chunks that can be run in parallel, and then runs them in parallel. If you have a lot of tests to run – as Jonathan does at Opensky – then anything you can do to reduce the time it takes to run them is good. With PHPChukit, Jonathan has found a way to reduce his tests significantly.
PHPChunkit is a library that sits on top of PHPUnit and adds additional functionality to make it easier to work with large unit and functional test suites. The primary feature is test chunking and database sandboxing which gives you the ability to run your tests in parallel chunks on the same server or across multiple servers.
I’ll do you one better than that though. Instead of just giving you a quote and a link to the repo, here is a Lightning Talk Jonathan did that explains the WHY and the HOW.