#tdd
Read more stories on Hashnode
Articles with this tag
Problem: How to avoid threading race conditions in your class? Solution: Use actor that handles all the concurrency for you! Code that runs...
Problem: How to TDD async/await ? Solution: Stub the response, async function needs to know it's result before call IMPORTANT: This tutorial is only...
Problem: How to test your navigation logic in SwiftUI ? Solution: Extract navigation logic in a separate Service that handles it using UIKit SwiftUI...
Problem: How test behavior inside a SwiftUI view ? Solution: Extract all the logic in a ViewModel and test drive only the behaviour using the TDD...
Problem: How to automate regression on UI screens? Solution: Snapshot Tests ! SwiftUI and the Live Preview are a good matchThanks to them I was able...
Problem: How to integrate UI with a not ready backend? Solution: By decoupling the model returned by the API from the model that manages the UI...