Why I’m starting to use PHPUnit and Unit Testing

After working on my recent app logic, I realised that I’d spend most of the day manually testing values were working being returned correctly – as my math is horrible, that was a task only made even more ridiculous with an 11″ screen and swapping between windows / desktops!

I’ve been looking into my workflow and while working with WordPress + Core, there was no real reason to start unit testing. After building just a few lines of code with pure PHP – I’ve realised that is a terribly inefficient part of my workflow.

While already using Grunt and working on my work flow – next week is PHPUnit Time.