
There are lots of types of tests that programmers should perform, unit testing, functional testing, integration testing etc… Often I hear programmers confuse controller testing with unit testing. They see that a functional test offers more code coverage and so they focus on controller testing instead of units of code.