Learn how to architect your Swift app to make testing a breeze. Explore dependency injection, how to use protocols to help with tests, working with UI tests, and more.
- [Mark] Modern day app development is a complicated process. There's a lot of moving parts to consider, and it's nearly impossible to catch every edge case. Humans make mistakes all the time and it's unreasonable to expect otherwise. That's where writing our apps in a testable way can help make our lives better. Hi, my name is Mark Difranco, and I'm a freelance IOS engineer. In this course, we'll cover how to architect your app to make testing a breeze. I spent the last year optimizing this process for Swift, so I'm excited to share it with you. As we progress, we'll be building a sample speedometer app.
We will display the user's current speed and warn them when they exceed a set speed. Let's get started.
- Why write unit tests?
- What is dependency injection?
- Using protocols to help with tests
- Handling external dependencies
- Anatomy of a test case
- Writing tests
- Analyzing code coverage
- Visualizing test results
- Writing and extending UI tests
Skill Level Intermediate
Core Data for iOS and macOS Enterprise Developerswith Jon Bott1h 46m Intermediate
Learning Server-Side Swift with Vaporwith Ron Buencamino1h 30m Intermediate
Swift 3 Essential Training: Beyond the Basicswith Scott Gardner2h 58m Intermediate
1. Dependency Injection
2. Using Protocols
3. Writing Tests
4. UI Tests
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.