Unit Testing Swift Mobile App
Unit Testing Swift Mobile App, available at $99.99, has an average rating of 4.53, with 137 lectures, based on 2002 reviews, and has 9353 subscribers.
You will learn about Unit Test iOS Mobile App XCTest Framework Create, Run and Debug Unit Tests Mock Dependencies Use Dependency Injection UI Testing This course is ideal for individuals who are Beginner Swift developers with no experience with Unit Testing It is particularly useful for Beginner Swift developers with no experience with Unit Testing.
Enroll now: Unit Testing Swift Mobile App
Summary
Title: Unit Testing Swift Mobile App
Price: $99.99
Average Rating: 4.53
Number of Lectures: 137
Number of Published Lectures: 137
Number of Curriculum Items: 137
Number of Published Curriculum Objects: 137
Original Price: $199.99
Quality Status: approved
Status: Live
What You Will Learn
- Unit Test iOS Mobile App
- XCTest Framework
- Create, Run and Debug Unit Tests
- Mock Dependencies
- Use Dependency Injection
- UI Testing
Who Should Attend
- Beginner Swift developers with no experience with Unit Testing
Target Audiences
- Beginner Swift developers with no experience with Unit Testing
Unit Testing is a must-have skill and this video course is about Unit Testing Swift code.
If you take this video course, you will learn how to follow a Test Driven Development process to implement a feature for an iOS mobile app built with Swift.
This video course starts with Unit Test basics and continues with a very practical set of lessons that demonstrates how to follow a Test-Driven process to implement the User Signup feature in the Model View Presenter mobile app.
By the end of this video course, you will have a very clear understanding of how to write Unit Tests and UI Testsfor your Swift mobile application, and you will be able to test even very complex Swift code.
If you are a freelance developer you might postpone learning how to unit test iOS app for some time. But if you are planning to join a bigger team, then unit testing is a must-have skill for you to be able to work on important app features.
Have a look through the curriculum of this course to see what it covers. Watch a few sample video lessons. And if you have questions, I am always here to help you.
Course Curriculum
Chapter 1: Introduction
Lecture 1: Source Code
Lecture 2: Introduction
Chapter 2: Basics of Unit Testing in Xcode
Lecture 1: Introduction
Lecture 2: Testing Pyramid
Lecture 3: The F.I.R.S.T Principle
Lecture 4: Test-Driven Development Lifecycle
Lecture 5: Enable Unit Tests in Xcode Project
Lecture 6: The Default Unit Test Case Class Explained
Lecture 7: The addTeardownBlock()
Lecture 8: Creating a New Test Case Class
Lecture 9: Ways to Run Unit Test in Xcode
Lecture 10: The Default Order of Unit Tests
Lecture 11: Unit Test Naming Requirements
Lecture 12: Ways to Disable or Skip Unit Test
Lecture 13: Viewing Test Results
Lecture 14: Code Coverage
Lecture 15: 100% Code Coverage
Lecture 16: Test Method Code Structure. Arrange, Act, Assert.
Lecture 17: Assertions
Lecture 18: Enabling the Failure Debugger Breakpoint
Lecture 19: Parallel Distributed Testing on Multiple Simulator Clones
Chapter 3: TDD. Implementing Model Validator
Lecture 1: Introduction
Lecture 2: Test That User First Name is Valid
Lecture 3: Test for a very short First Name
Lecture 4: Test for a very long First Name
Lecture 5: Challenge: Apply TDD to Implement Validation of Last Name and Email Address
Lecture 6: Test if user passwords match
Lecture 7: Test if user passwords do not match
Chapter 4: Test Code in Isolation
Lecture 1: Introduction
Lecture 2: Dependency Injection
Lecture 3: Use of Protocols
Lecture 4: Test Toubles – Fake, Mock, Stub, Dummy
Chapter 5: TDD. Implementing Network Service Class.
Lecture 1: Introduction
Lecture 2: Create Initial SignupWebServiceTests Unit Test class
Lecture 3: Create Initial SignupWebService Class
Lecture 4: Implementing SignupFormRequestModel
Lecture 5: Adding CompletionHandler to Signup Method Signature
Lecture 6: Implementing the Initial SignupResponseModel
Lecture 7: Implementing the Initial SignupErrors Enum
Lecture 8: Organize Project Folders
Lecture 9: Assert that the Response Status is Equal to "ok"
Lecture 10: Adding an Expectation and an Asynchronous Wait Method
Lecture 11: Inject URL String
Lecture 12: Prepare URL
Lecture 13: Prepare URL Request Object
Lecture 14: Create DataTask
Lecture 15: Inject URLSession
Lecture 16: Return Response Model
Lecture 17: Trying how it works with Real HTTP Request
Lecture 18: Mock URLProtocol
Lecture 19: Make URLSession use MockURLProtocol
Lecture 20: Handle Unknown JSON Response Model
Lecture 21: When Empty URL Provided Return a Specific Error Message
Lecture 22: Refactor SignupErrors Enum
Lecture 23: Test URL Request Failure
Lecture 24: Check Code Coverage
Chapter 6: TDD. Implementing Presenter Class in MVP Application
Lecture 1: Introduction
Lecture 2: Create Presenter Unit Test Class and Test Method
Lecture 3: Create Signup Form Model Struct
Lecture 4: Create SignupPresenter class and the processUserSignup() method
Lecture 5: Create Initial MockSignupModelValidator class
Lecture 6: Create Validator Protocol
Lecture 7: Inject Validator Mock and validate each property
Lecture 8: Refactor
Lecture 9: Unit Test to verify the signup() was called
Lecture 10: Create SignupWebService Mock Class
Lecture 11: Signup Web Service Protocol
Lecture 12: Inject Signup Web Service Mock in to Presenter
Lecture 13: Unit Test to assert that Presenter calls a method on View Delagate
Lecture 14: Create View Delegate Protocol and MockSignupViewDelegate
Lecture 15: Inject View Delegate into Presenter
Lecture 16: Counting number of times a method was called
Lecture 17: Verify that successfulSignup() called one time only
Lecture 18: Refactor
Lecture 19: Coding Challenge
Lecture 20: Assert that Presenter calls a Error Handler on View Delagate
Lecture 21: Review Code Coverage of Presenter Class
Chapter 7: Unit Testing View Controller
Lecture 1: Introduction
Lecture 2: Create a New Test Class and a Test Method
Lecture 3: Test UITextFields are initially empty
Lecture 4: Test UITextField has a referencing outlet
Lecture 5: Test UIButton has @IBAction assigned to it
Lecture 6: Test UIButton Action invokes code in Presenter
Lecture 7: Create MockSignupPresenter class
Lecture 8: Inject MockSignupPresenter into View Controller
Chapter 8: Testing Old or Legacy Code
Lecture 1: Introduction
Lecture 2: Refactor Massive View Controllers
Lecture 3: Use Protocols and Dependency Injection
Lecture 4: Adding code to existing methods
Lecture 5: Break large functions into smaller ones
Lecture 6: Wrapping existing classes. Decorator pattern.
Chapter 9: Examples: Ways to Load UIViewController in a Unit Test
Instructors
-
Sergey Kargopolov
Software developer
Rating Distribution
- 1 stars: 13 votes
- 2 stars: 20 votes
- 3 stars: 148 votes
- 4 stars: 697 votes
- 5 stars: 1124 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!
You may also like
- Top 10 Content Creation Courses to Learn in December 2024
- Top 10 Game Development Courses to Learn in December 2024
- Top 10 Software Testing Courses to Learn in December 2024
- Top 10 Big Data Courses to Learn in December 2024
- Top 10 Internet Of Things Courses to Learn in December 2024
- Top 10 Quantum Computing Courses to Learn in December 2024
- Top 10 Cloud Computing Courses to Learn in December 2024
- Top 10 3d Modeling Courses to Learn in December 2024
- Top 10 Mobile App Development Courses to Learn in December 2024
- Top 10 Graphic Design Courses to Learn in December 2024
- Top 10 Videography Courses to Learn in December 2024
- Top 10 Photography Courses to Learn in December 2024
- Top 10 Language Learning Courses to Learn in December 2024
- Top 10 Product Management Courses to Learn in December 2024
- Top 10 Investing Courses to Learn in December 2024
- Top 10 Personal Finance Courses to Learn in December 2024
- Top 10 Health And Wellness Courses to Learn in December 2024
- Top 10 Chatgpt And Ai Tools Courses to Learn in December 2024
- Top 10 Virtual Reality Courses to Learn in December 2024
- Top 10 Augmented Reality Courses to Learn in December 2024