Testing 101: What Are UI Tests & How to Write Them in Swift/iOS
In this episode of Testing 101, we explore UI tests and explain how they differ from other types of testing. While unit tests focus on individual components, UI tests ensure that the user interface behaves correctly as a whole. I’ll walk you through a real-world demo, setting up a UI test in Xcode, simulating user actions, and making your tests more reliable by mocking a Web API call. Content: 0:00 - Intro 3:02 - UI Test Target 6:11 - UI Test File from Template 7:22 - App Object 8:27 - Recording a UI Test 11:07 - Creating Identifiers 15:51 - waitForExistence 17:35 - ProgressView not detected 19:46 - Cells in UI Tests 23:18 - Labels as Identifiers 23:59 - Simulating user actions 26:41 - Recording UI sometimes fails. 29:10 - CartList’s Alerts and Views 32:09 - Fails in UI Test 34:00 - Mocking UI Test 42:25 - Fixing unexpected issue with alert 47:13 - UI Tests are expensive! 48:57 - BONUS: Testing Error Flows 50:00 - Outro Demo: https://github.com/pitt500/OnlineStor... --- What is a Unit Test?: • Testing 101: What is a Unit Test & How to ... What is an Integration Test?: • Testing 101: What Are Integration Tests & ... setUp & tearDown: • Mastering Swift Testing: Migrating XCTest ... Swift Testing Playlist: • Swift Testing SwiftUI Modifiers: • Developing Custom Modifiers in SwiftUI ----- Other videos from my channel: Podcast: • Swift and Tips Podcast Swift Concurrency: • Swift Concurrency any Protocol (Existential Types): • "any" Keyword and Existential types in Swift The Composable Architecture (TCA): • The Composable Architecture Apple Watch Layout using Geometry Reader: • Building Apple Watch Layout with Geometry ... Key Paths: • The Anatomy of a Key Path Result Builders to build a web framework: • Result Builders in Action: Simplifying HTM... Types of Access Control: • All types of Access Control in Swift (priv... Generics: • Generics ----- My Contact: https://www.swiftandtips.com / swiftandtips https://iosdev.space/@swiftandtips / pedrorojaslo

Testing 101: What Are Integration Tests & How to Write Them in Swift

Code-along: Start building with Swift and SwiftUI | Meet with Apple

UI Testing a SwiftUI application in Xcode | Advanced Learning #18

WWDC25: Record, replay, and review: UI automation with Xcode | Apple

25 Claude Code Tips That Made Me 10x Faster

Testing 101: What is a Unit Test & How to Create One in Swift

Intro to Unit Testing in Swift

What the Armor of God Really Means When You Feel Too Weak to Fight (No Ads)

China’s Secret | The Most Unbelievable Megaprojects in China | 4K Travel Documentary

Today's Holy Rosary Tuesday, June 16, 2026 | Find peace in the midst of your storms

Warum die Sperre von Claude Fable vorhersehbar war

ASMR Addictive Fast Tapping Collection For Deep Sleep & Anxiety Relief (No Talking) — 2.5 Hours

God Says:"I JUST CONFIRMED — ONLY YOU CAN SEE THIS LETTER"/God Message Now/God Message

How to write good Unit Tests for iOS Apps in SwiftUI (2022)

iOS Unit Testing Masterclass | Swift Anytime
![PINK & ORANGE GRADIENT IN HD [3 HOURS]](https://i.ytimg.com/vi/6ih8zppfQSQ/hqdefault.jpg?sqp=-oaymwE9CNACELwBSFryq4qpAy8IARUAAAAAGAElAADIQj0AgKJDeAHwAQH4Af4JgALQBYoCDAgAEAEYfyAsKBMwDw==&rs=AOn4CLDvw6mQM98bfl572zfE7r4GdUG8dg)
PINK & ORANGE GRADIENT IN HD [3 HOURS]

iOS Dev 31: Getting Started with UI Testing | Swift 5, XCode 12

LIVE 24/7 – Sleep With God’s Word | Peaceful Bible Reading for Rest & Prayer

Why AI Agents are either the best or worst thing we’ve ever built

