7 days of WordPress plugins, themes & templates - for free!* Unlimited asset downloads! Start 7-Day Free Trial
FREELessons: 12Length: 2.2 hours

Next lesson playing in 5 seconds

  • Overview
  • Transcript

2.2 Simple Controller Testing (Part 2)

The controller in the previous lesson really isn't representative of the actual controllers we write for our applications, and we rarely test the output of a controller. Instead, it's better to ensure the controller provides the appropriate model to the view, and that's what we'll do in this lesson.