At the top, the title "TDD with SwiftUI - Triggering API Request" and at the bottom, an image of a phone with a red button and a finger pressing that button.

TDD with SwiftUI - Triggering API request

Recap Hello everyone and welcome to the next chapter of the series about SwiftUI code automated testing! In the previous post we defined acceptance criteria for the Joke app that we’re implementing we covered by snapshot tests all UI cases mentioned in the acceptance critieria That’s what the app looks like ⤵️ Here’s the link to the previous blog post ⤵️ (Worth reading before this one) Testing SwiftUI Code - The beginning (UI)...

September 13, 2024 · 9 min · Maciej Gomolka