HOME > Development > Test Driven Development in iOS Using Swift

Test Driven Development in iOS Using Swift

  • Development
  • Apr 20, 2025
SynopsisTest Driven Development in iOS Using Swift, available at $79....
Test Driven Development in iOS Using Swift  No.1

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

  • 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
  • Who Should Attend

  • Developers interested in learning about writing tests
  • Developers who wants to implement unit tests for the core domain model
  • Developers who wants to learn how to write user interface tests
  • Developers who wants to learn how mocking works and benefits of mocking
  • Target Audiences

  • Developers interested in learning about writing tests
  • Developers who wants to implement unit tests for the core domain model
  • Developers who wants to learn how to write user interface tests
  • Developers who wants to learn how mocking works and benefits of mocking
  • 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:

    1. 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.

    1. 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.

    1. 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.

    1. 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.

    1. 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.

    1. 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.

    1. 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

  • Test Driven Development in iOS Using Swift  No.2
    Mohammad Azam
    Apple Featured iOS Developer and iOS Instructor
  • Rating Distribution

  • 1 stars: 2 votes
  • 2 stars: 9 votes
  • 3 stars: 44 votes
  • 4 stars: 217 votes
  • 5 stars: 332 votes
  • 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!