by Derek Jensen
Lessons:17Length:1.8 hours

For full access to all 17 lessons, including source files, subscribe with Elements.
- Overview
- Transcript
2.4 Testing Our Application
In this lesson you will start to write a test against our sample application. This is a very important skill to learn, particularly useful when we inherit code that someone else has written. In such cases, one of the best ways to learn about the functionality of the inherited application is to write tests against it.
1.Introduction3 lessons, 09:55
3 lessons, 09:55
Free Lesson 1.1Welcome02:53
Free Lesson
1.1
Welcome
02:53
Free Lesson 1.2Prerequisites03:20
Free Lesson
1.2
Prerequisites
03:20
1.3Structure of Our App03:42
1.3
Structure of Our App
03:42
2.Basic Testing Concepts8 lessons, 58:09
8 lessons, 58:09
2.1Identifying the Test Target03:59
2.1
Identifying the Test Target
03:59
2.2Writing Your First Test08:50
2.2
Writing Your First Test
08:50
2.3Types of Assertions06:13
2.3
Types of Assertions
06:13
2.4Testing Our Application06:31
2.4
Testing Our Application
06:31
2.5Setup and Teardown Functions08:29
2.5
Setup and Teardown Functions
08:29
2.6Debugging Tests07:29
2.6
Debugging Tests
07:29
2.7Testing For Exceptions12:39
2.7
Testing For Exceptions
12:39
2.8Performance Tests03:59
2.8
Performance Tests
03:59
3.Mocks, Stubs, and Dependency Injection3 lessons, 22:58
3 lessons, 22:58
3.1Mocks and Stubs07:44
3.1
Mocks and Stubs
07:44
3.2Adding Some Business Logic06:58
3.2
Adding Some Business Logic
06:58
3.3Dependency Injection and Stubs08:16
3.3
Dependency Injection and Stubs
08:16
4.Wrapping Up3 lessons, 17:27
3 lessons, 17:27
4.1Testing View Controllers09:37
4.1
Testing View Controllers
09:37
4.2Where To Go From Here05:00
4.2
Where To Go From Here
05:00
4.3Conclusion02:50
4.3
Conclusion
02:50
Continue watching with Elements
Continue watching with Elements