Posted by
Matt Farmer
on December 14, 2012 ·
1 min read
Reasons you unit test:
It helps you think out how new code should be designed in Test Driven Development, because you’re actually writing something that uses the code that doesn’t exist yet.
Regression testing – so you can make sure new code doesn’t open old bugs.
It enables you to do things like set up a continuous integration and continuous deployment flow that greatly simplifies the process of getting code out to your production server.