FREELessons: 17Length: 1.8 hours
Outdated Course
This course uses Swift 1, which is now outdated. We've built a complete guide to help you learn Swift, whether you're just getting started with the basics or you want to explore more advanced topics: Learn Swift.
The process of creating an iOS app doesn't stop with the creation of functional code. At some point you will need to verify that the code you have written satisfies all of your project's requirements. In this course you'll learn how to do just that for your iOS and Swift code.
Xcode 6 has a built-in testing framework called XCTest that will allow you to quickly and easily write unit tests in order to verify your code. Get started now and learn how to successfully write basic tests and verify your code using XCTest.
We've built a complete guide to help you learn Swift, whether you're just getting started with the basics or you want to explore more advanced topics: Learn Swift.
1.Introduction3 lessons, 09:55
3 lessons, 09:55
1.1Welcome02:53
1.1
Welcome
02:53
1.2Prerequisites03:20
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
Derek Jensen is a lifetime nerd that calls the Chicagoland area home. He is your typical family man that loves activities with his wonderful wife and three amazing children. He is huge sports buff (both playing and coaching) and loves football, baseball and basketball. He loves just about any technology he can get his hands on but spends most of him time on the server side of the world. His day job consists of writing highly transactional backend web services, data access layers, and n-tier applications using the .NET Framework in C#. At night, when he's not spending time with his family, he enjoys authoring Tuts+ Courses and creating ASP.NET MVC web sites and mobile apps for clients.