Autoplay
Autocomplete
Previous Lesson
Complete and Continue
Test Driven Development in iOS
Introduction
Prerequisites (1:30)
Private Slack Channel & Newsletter
Quarterly Live Q&A Sessions
Where did you hear about this course?
Refer a friend program
Understanding Test Driven Development
What is TDD? (3:14)
Why should you use TDD? (3:45)
What you should test and what you should not? (4:07)
When should you use TDD? (3:34)
Common misconceptions about TDD? (4:00)
Rules of writing good test (3:55)
Tip Calculator - Writing Your First Unit Test
Understanding the App (2:50)
Setting Up Unit Test Project (7:45)
Implementing Test to Calculate Tip (10:08)
Writing Test to Check for Thrown Exceptions (9:24)
Integrating TipCalculator to the SwiftUI App (8:41)
Tip Calculator - Writing UI Tests
Setting Up User Interface Test Project in Xcode (2:42)
Writing Unit Testing When Content View is Shown (15:57)
Refactoring Tests (5:18)
Writing UI Tests For Calculating Tip (8:26)
Writing UI Tests for Invalid Input for Total (9:32)
Implementing PageObject Pattern (7:03)
Recording User Interface Tests and Code Coverage
How to Record a UI Test Using the Recording Tool? (5:08)
What is Code Coverage? (2:23)
Code Coverage Demo (7:01)
Mocking
What is Mocking? (3:53)
Understanding the Starter Project (7:18)
Writing Test to Validate Required Fields (7:29)
Writing Test Confirm User Navigation to Dashboard Upon Authentication (7:37)
Implementing MockedWebService (16:06)
Writing Test to Display Message for Invalid Credentials (3:48)
Implementing PageObjects Design Pattern (6:10)
Todo App - End to End Testing
Tour of the App (5:46)
Resource: Core Data Debugging
Writing Test to Save Task to Database (10:05)
Deleting App Before Running Each Test Using Springboard (8:53)
Writing Test to Check Duplicate Task Titles are Not Allowed (4:39)
Writing Test to Make Sure Task is Deleted Successfully (5:43)
Writing Test to Make Sure Updating Task Favorite Works as Expected (6:48)
Quiz App - Unit Testing the Domain
Architecture Overview (5:31)
Understanding Starter Project and Quiz Stories (3:18)
Writing Test to Make Sure Quiz Points are Calculated Correctly (12:56)
Writing Test to Grade Exam Based on Score (5:57)
Write Test to Grade Exam Based on User's Submission (11:28)
Quiz App - User Interface Testing
Writing Test to Display Available List of Quizzes (14:30)
Writing Test to Navigate to Questions Screen (4:09)
Writing Test to Make Sure Error Message is Displayed When No Choices Selected (6:21)
Writing Test to Display Grade for the User (11:37)
Conclusion
Next Steps (0:40)
Earn with us
Teach online with
What is Code Coverage?
Lesson content locked
If you're already enrolled,
you'll need to login
.
Enroll in Course to Unlock