FREELessons: 12Length: 2.2 hours
- 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.
1.Introduction4 lessons, 38:38
4 lessons, 38:38
1.1Introduction00:57
1.1
Introduction
00:57
1.2What You Need09:15
1.2
What You Need
09:15
1.3Unit Testing Basics (Part 1)13:08
1.3
Unit Testing Basics (Part 1)
13:08
1.4Unit Testing Basics (Part 2)15:18
1.4
Unit Testing Basics (Part 2)
15:18
2.Controller Testing6 lessons, 1:18:19
6 lessons, 1:18:19
2.1Simple Controller Testing (Part 1)13:08
2.1
Simple Controller Testing (Part 1)
13:08
2.2Simple Controller Testing (Part 2)12:59
2.2
Simple Controller Testing (Part 2)
12:59
2.3Realistic Controller Testing12:20
2.3
Realistic Controller Testing
12:20
2.4Mocking08:26
2.4
Mocking
08:26
2.5Finishing the HomeController14:15
2.5
Finishing the HomeController
14:15
2.6Testing Behavior17:11
2.6
Testing Behavior
17:11
3.Route Testing1 lesson, 14:50
1 lesson, 14:50
3.1Testing Your Route Configuration14:50
3.1
Testing Your Route Configuration
14:50
4.Conclusion1 lesson, 00:47
1 lesson, 00:47
4.1Conclusion00:47
4.1
Conclusion
00:47
I started my development career on the client-side writing JavaScript and DHTML components in my spare time. In 2005, Nicholas C. Zakas asked me to join him in writing the first edition of Professional Ajax for Wiley Publishing. Since Professional Ajax, 1st Edition, I've been blessed to take part in other book projects: Professional Ajax 2nd Edition, and Beginning JavaScript 3rd and 4th editions.