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
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
Test Double : Stub
In the last article, we've already talk about Test Double in general. In this article, we will talk about on of test double, called stub. Testing a component can be helped with another collaborator component with predefined behavior. This is called stubbing. 💡 Stubs provide canned answers to calls made during the test, usually not responding at … Continue reading Test Double : Stub
Introduction to Test Double : What and Why We Need It?
When it comes to unit testing, testing a component is a crucial way to validate our component is working properly or not. By definition, a component is an implementation detail, it can be a class, or struct, or similar to that. Let's say we have a use case component. This use case is responsible to … Continue reading Introduction to Test Double : What and Why We Need It?
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
From BDD Specs to Use Case Specs (Part 1)
About Use Case Specs Image by AbsoluteVision on Unsplash What is a use case specs? Use case specs is a readable document that derived from the BDD Specs. This document is more technical, so it is more suitable for developers. the use case specs reflects the precondition, steps, happy path (if success), and sad path … Continue reading From BDD Specs to Use Case Specs (Part 1)
Software Architecture? Is it Urgent? or Important?
Photo by Joel Filipe on Unsplash Introduction As a software engineer, architecture plays a big role in the development process. It helps the engineering team a lot, even for a small team. It is also helps the apps itself, which is will leads to the success of the product, especially in the future. But, why is … Continue reading Software Architecture? Is it Urgent? or Important?