title: PHPUnit Testing - Controllers or Models
body: <p>I am using the Laravel framework and was reading through Laravel Testing Decoded by Jeffrey Way.  It goes into depth on how to test and why to test, and talks about testing anything and everything.</p>
  
  <p>My question is this: <strong><em>If I am performing most of my tests on my model, do I need to test my controllers in depth as well?</em></strong></p>
  
  <p>For instance, my model tests validation, it tests saving, hashing passwords, miscellaneous functions... all which can be called by the controller.  My controller just receives the request, calls the model method(s), and then serves up the view.</p>
  
  <p>The section on controller testing shows that you can test the controller for validation, redirects, model saving, etc.  It seems like a lot of this is repetitious, and there should be no need to test validation and saving if I have tests that do that already on the model level.</p>