Speed coding – Unit Testing the MVVM in Swift

https://www.youtube.com/watch?v=eKtWY0962Hg 🎯 Difficulty: Intermediate to Advanced In this speed coding session, we write unit tests for a Swift ViewModel built with the MVVM architecture and powered by Combine and @MainActor concurrency. You’ll see how to: ✅ Write precise and meaningful unit tests using XCTest 🔍 Test async @MainActor functions with Combine’s @Published properties 🧪 Mock … Continue reading Speed coding – Unit Testing the MVVM in Swift

IOS Modularization and Unit Testing Feedback Speed

When an app is actively being developed, it tends to grow larger day by day. Over time, as engineers, we need to manage and maintain this growing codebase efficiently. If we don’t modularize it properly, we will eventually face significant challenges. Some of these include: Difficulty in maintenance Difficulty in adapting to new changes Slower … Continue reading IOS Modularization and Unit Testing Feedback Speed

4 Part 4 – iOS – TDD – Random Character App – MVVM ViewModel

In this new series, we will be learning how we can use Test Driven Development on a networking based iOS project app, and in this case, we will fetch random character from `rickandmortyapi` and display it to the screen! In this video, we will learn how we can build our ViewModel component using Test Driven … Continue reading 4 Part 4 – iOS – TDD – Random Character App – MVVM ViewModel

#3 Part 3 – iOS – TDD – Random Character App – The Power of Tests on During Refactoring

In this new series, we will be learning how we can use Test Driven Development on a networking based iOS project app, and in this case, we will fetch random character from `rickandmortyapi` and display it to the screen! Refactoring is actually changing the implementation without changing the behavior. In this video, we can achieve … Continue reading #3 Part 3 – iOS – TDD – Random Character App – The Power of Tests on During Refactoring

#2 Part 2 – iOS – TDD – Random Character App – TDD Networking with Moya (Continue)

In this new series, we will be learning how we can use Test Driven Development on a networking based iOS project app, and in this case, we will fetch random character from `rickandmortyapi` and display it to the screen! Let's dive in into the second part, the Test Drive Networking layer. We will learn on … Continue reading #2 Part 2 – iOS – TDD – Random Character App – TDD Networking with Moya (Continue)

#1 Part 1 iOS – TDD – Random Character App – Project Setup and TDD Networking

In this new series, we will be learning how we can use Test Driven Development on a networking based iOS project app, and in this case, we will fetch random character from `rickandmortyapi` and display it to the screen! Let's dive in into the first part, the Project Setup and some error handling TDD Networking. … Continue reading #1 Part 1 iOS – TDD – Random Character App – Project Setup and TDD Networking

#8 Swift – TDD + Delete Duplicates in Sorted List (Linked List)

Hi everyone, TDD is helpful, and now, I am going to share how we can use TDD on solving Delete Duplicates in sorted LinkedList problem! website - https://arifinfrds.com/ GitHub repository https://github.com/arifinfrds/ LeetCode: https://leetcode.com/problems/remove-duplicates-from-sorted-list/solutions/3073732/solution-using-swift-using-current-and-previous-node-pointer/ #deleteduplicatesinlinkedlist #tdd #testdrivendevelopment #swiftprogramming #dsa #datastructuresandalgorithms #arifinfrds #leetcode #leetcodesolution #programmer #softwaredeveloper #softwareengineer https://youtu.be/ymmSCNWo3NA

#3 Explore Swift Snapshot Testing on iOS

Hi, I am happy to share how I implement Snapshot Testing using swift-snapshot-testing library from Pointfree's GitHub! Snapshot Testing is one of testing strategy that compares saved captured screen image with the new captured screen image, so that we can know that if the UI is altered or not, to maintain the UI consistency. Let … Continue reading #3 Explore Swift Snapshot Testing on iOS