Author
Released
5/24/2017- 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
Duration
Views
- [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.
-
Introduction
-
Welcome40s
-
-
1. Dependency Injection
-
Why write unit tests?1m 42s
-
What is Swinject?6m 8s
-
-
2. Using Protocols
-
Business logic: Overview1m 37s
-
Using Swinject: Overview1m 5s
-
Using Swinject: Assemblies9m 26s
-
Building the storyboard10m 34s
-
Building the view controller16m 4s
-
3. Writing Tests
-
Anatomy of a test case2m 18s
-
Creating mocks: Demo11m 36s
-
Isolating bugs3m 49s
-
Analyzing code coverage1m 34s
-
Visualizing test results1m 24s
-
-
4. UI Tests
-
What is a UI Test?1m 11s
-
What to mock11m 12s
-
Writing UI tests14m 5s
-
-
Conclusion
-
Next steps57s
-
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.
CancelTake 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.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.
Share this video
Embed this video
Video: Welcome