Популярное

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

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

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

Топ запросов

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

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

Загружено: 13 окт. 2024 г.

Просмотров: 2 470 просмотров

Описание:

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 UI Tests & How to Write Them in Swift/iOS

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

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

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

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

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

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

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

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

How Swift Generates Random Numbers

How Swift Generates Random Numbers

ВСЕ ЧТО НУЖНО ЗНАТЬ О ДЕПЛОЕ, DOCKER, CI/CD, ЕСЛИ ТЫ НОВИЧОК

ВСЕ ЧТО НУЖНО ЗНАТЬ О ДЕПЛОЕ, DOCKER, CI/CD, ЕСЛИ ТЫ НОВИЧОК

SwiftUI Architecture - Best Practices and Principles

SwiftUI Architecture - Best Practices and Principles

introduction to mechatronics: sensors (part1)

introduction to mechatronics: sensors (part1)

LLM и GPT - как работают большие языковые модели? Визуальное введение в трансформеры

LLM и GPT - как работают большие языковые модели? Визуальное введение в трансформеры

Blender Tutorial for Complete Beginners - Part 1

Blender Tutorial for Complete Beginners - Part 1

Лучший Гайд по Kafka для Начинающих За 1 Час

Лучший Гайд по Kafka для Начинающих За 1 Час

WWDC24: SwiftUI essentials | Apple

WWDC24: SwiftUI essentials | Apple

سورة البقرة كاملة بدون اعلانات فضيلة الشيخ سعود الشريم surah baqarah saud shuraim

سورة البقرة كاملة بدون اعلانات فضيلة الشيخ سعود الشريم surah baqarah saud shuraim

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



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



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