Hi everyone, I am back, and this video is about how we can use Test Driven Development to solve Merge Two Lists algorithm Problem! We can use TDD to solve very small unit of logic, then we can keep refactor our code so that it can works in integration. #tdd #testdrivendevelopment #swiftprogramming #dsa #datastructuresandalgorithms #arifinfrds … Continue reading #6 Swift – TDD + Merge Two Lists (LeetCode)
#5 Swift – TDD + Nearest Palindromic
Hi everyone, this is my very first video in 2023 and this video is about how we can use Test Driven Development to solve Nearest Palindromic algorithm Problem! We can use TDD to solve very small unit of logic, then we can keep refactor our code so that it can works in integration. #testdrivendevelopment #nearestpalindromic … Continue reading #5 Swift – TDD + Nearest Palindromic
#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
Bug Fixing using Test Driven Development and Bind Reducer to UI
Bug Fixing using Test Driven Development and Bind Reducer to UI In this video, I am happy to share on how we can fix a bug using TDD, and bind our Reducer to the UI. Test Driven Development can help us fix a bug through its process, which is fun to do, by following the … Continue reading Bug Fixing using Test Driven Development and Bind Reducer to UI
Test Double : Spy
In the previous article, we've already talk about Test Double in general. In this article, we will talk about one of test double, called Spy. Testing a component can be helped with another collaborator component with predefined behavior and collecting information. This is called spying. 💡 Spies are stubs that also record some information based on how they were … Continue reading Test Double : Spy
Unit Testing Tips for Your UI
Photo by NordWood Themes on Unsplash Today, we are going to learn extra tips to test your ViewController. It is always good to have extra test since it can increase your code validity. Testing your viewController can helps you be more extra aware of what is actually going on with the ViewController. There are some tips that I … Continue reading Unit Testing Tips for Your UI
Cleaning AppDelegate or SceneDelegate Using ViewControllerFactory
Factory Design Pattern Illustration Overview AppDelegate or SceneDelegate is the main file that we as iOS developers know to configure, inject, or instantiate a global instance or frameworks. This place become essential, especially because it is actually the starting point of our app. Because it knows so many things, like configuring the frameworks, handling push … Continue reading Cleaning AppDelegate or SceneDelegate Using ViewControllerFactory
Implementing Builder Pattern to create Navigation Stack for UIViewController on iOS
Photo by helloimnik on Unsplash Introduction A Builder pattern is one of Design Pattern that belongs to the creational Design Pattern. The pattern exist to solve issue on creating a complex object. This pattern can helps developer to create an object in a simple and elegant way. To use the pattern, we need to create … Continue reading Implementing Builder Pattern to create Navigation Stack for UIViewController on iOS
MVCS on iOS with Alamofire
💡 This article is originally written on my Medium in 2018 and moved here in 2021 MVC Diagram MVC (Stands for Model-View-Controller) is a design pattern in software engineering world that has around for many years. It is always been good to make your code has separate layer between the Model, View and the Controller. … Continue reading MVCS on iOS with Alamofire
What I learned on 2020 as a Software Engineer
Photo by Ben White on UnsplashI start learn how to code around 5 years ago, and in the past 3 years, I have been focusing on focusing iOS Development a lot.In this 12 months, there are many things to learn that I hope I know it at the first place. Let me tell you all of … Continue reading What I learned on 2020 as a Software Engineer