ycliper

Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
Скачать

Testing 101: What Are UI Tests & How to Write Them in Swift/iOS

iOS

Swift and Tips

Swift

SwiftUI

iOS Development

Xcode

Swift Testing

#expect

Test Macro

Testing 101

Begineer Guide

Unit Test

Assert

Integration Test

UI Test

Accessibility Identifier

XCUIApplication

Record UI

Mock UI Test

launchEnvironment

Launch Environment

Автор: Swift and Tips

Загружено: 2024-10-13

Просмотров: 2632

Описание: 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  

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
Testing 101: What Are UI Tests & How to Write Them in Swift/iOS

Поделиться в:

Доступные форматы для скачивания:

Скачать видео

  • Информация по загрузке:

Скачать аудио

Похожие видео

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

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

Getting Started with Unit Testing for iOS Development in Swift  | Xcode 16

Getting Started with Unit Testing for iOS Development in Swift | Xcode 16

Intro to Unit Testing in Swift

Intro to Unit Testing in Swift

WWDC24: SwiftUI essentials | Apple

WWDC24: SwiftUI essentials | Apple

How I Supercharge Xcode with Cursor AI: SwiftUI Apps Faster & Easier!

How I Supercharge Xcode with Cursor AI: SwiftUI Apps Faster & Easier!

Andrej Karpathy: Software Is Changing (Again)

Andrej Karpathy: Software Is Changing (Again)

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

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

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

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

КОГДА ИСЧЕЗНЕТ УКРАИНА? | #ВзглядПанченко

КОГДА ИСЧЕЗНЕТ УКРАИНА? | #ВзглядПанченко

Swift Dependency Injection - What is it? What are the benefits?

Swift Dependency Injection - What is it? What are the benefits?

© 2025 ycliper. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]