Test Driven Development in iOS Using Swift
- Development
- Apr 20, 2025

Test Driven Development in iOS Using Swift, available at $79.99, has an average rating of 4.56, with 55 lectures, based on 604 reviews, and has 3827 subscribers.
You will learn about Learn the benefits and the reasoning behind writing tests Implementing unit tests for the core domain model Writing tests for the user interface Understanding mocking and benefits of mocking Implementing domain driven design This course is ideal for individuals who are Developers interested in learning about writing tests or Developers who wants to implement unit tests for the core domain model or Developers who wants to learn how to write user interface tests or Developers who wants to learn how mocking works and benefits of mocking It is particularly useful for Developers interested in learning about writing tests or Developers who wants to implement unit tests for the core domain model or Developers who wants to learn how to write user interface tests or Developers who wants to learn how mocking works and benefits of mocking.
Enroll now: Test Driven Development in iOS Using Swift
Summary
Title: Test Driven Development in iOS Using Swift
Price: $79.99
Average Rating: 4.56
Number of Lectures: 55
Number of Published Lectures: 49
Number of Curriculum Items: 55
Number of Published Curriculum Objects: 49
Original Price: $199.99
Quality Status: approved
Status: Live
What You Will Learn
Who Should Attend
Target Audiences
As a software developer you must always aspire to write quality code. You must also make sure that any future code you write does not break existing features. Test Driven Development provides you with a great way to implement software. It provides a safety net, which allows you to make changes with confidence. In this course, you will learn how to apply the principles of test driven development in iOS using Swift language.
Let’s check out the contents of the course:
-
Understanding Test Driven Development
In this section you will learn about the concepts behind Test Driven Development. You will learn why testing is important, when to write unit tests and even misconceptions behind testing in software development.
-
Types of Testing
In this section you will learn about types of testing. You will learn the differences between unit testing, user interface testing, integration testing, acceptance testing and performance testing.
-
Writing Your First Unit Test
In this section you will learn how to write your first unit test. We will implement a simple Tip Calculator and write your code using the principles of test driven development. You will learn how using test driven development allows you to architect your app.
-
Writing UI Tests
In this section you will learn how to write user interface tests. You will learn how to automate your user interface and perform actions on the elements on the screen. You will also learn how to use the PageObject pattern to reuse elements from the screen.
-
Mocking
In this section you will learn the concept of mocking. You will learn how to create a mocked version of the login service, which will allow the user to continue with their tests without having a dependency on a real login service and network connection.
-
End to End Testing
In this section you will learn how to perform end to end integration testing. You will learn how to invoke a real network service and make sure that all components of the app are working correctly together.
-
Project Time – Quiz App
Finally, you are going to put all your skills to test by implementing a Quiz App in SwiftUI using the principles of test driven development. You will start by testing the core domain and then move on to write user interface tests.
Who is this course for?
Developers interested in learning about writing great software based on the principles of test driven development.
Developers interested in learning about the application domain using unit tests.
Developers who want to educate themselves on how to architect an application using test driven development.
Developers who want to take their skills to the next level
I had so much fun in creating this course and I really hope you enjoy it too.
Thanks and let’s start coding!
Course Curriculum
Chapter 1: Introduction
Lecture 1: Introduction
Lecture 2: Prerequisites
Lecture 3: Resource: MVVM Design Pattern
Lecture 4: Exercise Files
Chapter 2: Understanding Test Driven Development
Lecture 1: What is TDD?
Lecture 2: Why should you use TDD?
Lecture 3: What you should test and what you should not?
Lecture 4: When should you use TDD?
Lecture 5: Common misconceptions about TDD?
Lecture 6: Rules of writing good test
Chapter 3: Tip Calculator – Writing Your First Unit Test
Lecture 1: Understanding the App
Lecture 2: Setting Up Unit Test Project
Lecture 3: Implementing Test to Calculate Tip
Lecture 4: Writing Test to Check for Thrown Exceptions
Lecture 5: Integrating TipCalculator to the SwiftUI App
Chapter 4: Tip Calculator – Writing UI Tests
Lecture 1: Setting Up User Interface Test Project in Xcode
Lecture 2: Writing Unit Testing When Content View is Shown
Lecture 3: Refactoring Tests
Lecture 4: Writing UI Tests For Calculating Tip
Lecture 5: Writing UI Tests for Invalid Input for Total
Lecture 6: Implementing PageObject Pattern
Chapter 5: Recording User Interface Tests and Code Coverage
Lecture 1: How to Record a UI Test Using the Recording Tool?
Lecture 2: What is Code Coverage?
Lecture 3: Code Coverage Demo
Chapter 6: Mocking
Lecture 1: What is Mocking?
Lecture 2: Understanding the Starter Project
Lecture 3: Writing Test to Validate Required Fields
Lecture 4: Writing Test Confirm User Navigation to Dashboard Upon Authentication
Lecture 5: Implementing MockedWebService
Lecture 6: Writing Test to Display Message for Invalid Credentials
Lecture 7: Implementing PageObjects Design Pattern
Chapter 7: Todo App – End to End Testing
Lecture 1: Tour of the App
Lecture 2: Resource: Core Data Debug Tag
Lecture 3: Writing Test to Save Task to Database
Lecture 4: Deleting App Before Running Each Test Using Springboard
Lecture 5: Writing Test to Check Duplicate Task Titles are Not Allowed
Lecture 6: Writing Test to Make Sure Task is Deleted Successfully
Lecture 7: Writing Test to Make Sure Updating Task Favorite Works as Expected
Chapter 8: Quiz App – Unit Testing the Domain
Lecture 1: Architecture Overview
Lecture 2: Understanding Starter Project and Quiz Stories
Lecture 3: Writing Test to Make Sure Quiz Points are Calculated Correctly
Lecture 4: Writing Test to Grade Exam Based on Score
Lecture 5: Write Test to Grade Exam Based on Users Submission
Chapter 9: Quiz App – User Interface Testing
Lecture 1: Writing Test to Display Available List of Quizzes
Lecture 2: Writing Test to Navigate to Questions Screen
Lecture 3: Writing Test to Make Sure Error Message is Displayed When No Choices Selected
Lecture 4: Writing Test to Display Grade for the User
Chapter 10: Conclusion
Lecture 1: Next Steps
Lecture 2: Bonus Lecture
Instructors

Mohammad Azam
Apple Featured iOS Developer and iOS Instructor
Rating Distribution
Frequently Asked Questions
How long do I have access to the course materials?
You can view and review the lecture materials indefinitely, like an on-demand channel.
Can I take my courses with me wherever I go?
Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don’t have an internet connection, some instructors also let their students download course lectures. That’s up to the instructor though, so make sure you get on their good side!
- Random Picks
- Popular
- Hot Reviews
- Copywriting- Master the art of persuasive writing
- Basic Principles of Social Media Marketing
- Life Insurance Annuity Ultimate Buyer’s Guide
- 3DS Max Tutorial. Learn The Art of Modelling and Animation
- Personal Finance
- Company Valuation Financial Modeling
- Step-By-Step Stock Market Analysis and Real-Time Trades
- Canva Next Level- Become a Canva Expert
- 1YouTube Masterclass The Best Guide to YouTube Success
- 2Photoshop CC- Adjustement Layers, Blending Modes Masks
- 3Personal Finance
- 4SolidWorks Essential Training ( 2023 2024 )
- 5The Architecture of Oscar Niemeyer
- 6Advanced Photoshop Manipulations Tutorials Bundle
- 7Polymer Clay Jewelry Making Techniques for Beginners
- 8ZB Trading Cryptocurrency Price Action Course
- 1Linux Performance Monitoring Analysis Hands On !!
- 2Content Writing Mastery 1- Content Writing For Beginners
- 3Media Training for PrintOnline Interviews-Get Great Quotes
- 4Learn Facebook Ads from Scratch Get more Leads and Sales
- 5The Complete Digital Marketing Course Learn From Scratch
- 6C#- Start programming with C# (for complete beginners)
- 7[FREE] How to code 10 times faster with Emmet
- 8Driving Results through Data Storytelling