Testing 101: What Are Integration Tests & How to Write Them in Swift
Автор: Swift and Tips
Загружено: 2024-09-22
Просмотров: 1959
In this episode of Testing 101, we dive into integration tests and explain how they differ from unit tests. While unit tests focus on testing individual functions or classes, integration tests ensure that different components in your app work together smoothly.
I’ll walk you through a real-world demo where we integrate an API client, a database, a discount calculator, and a logger—testing them all in one flow using Swift.
Content:
0:00 - Intro
0:09 - Unit test vs Integration Test
5:41 - Integration Test in detail
15:41 - Pros & Cons of Integration Test
17:53 - Pyramid of Testing
19:16 - Outro
Demo: https://github.com/pitt500/OnlineStor...
---
What is a Unit Test?: • Testing 101: What is a Unit Test & How to ...
Swift Testing Playlist: • Swift Testing
Side Effects (TCA): • The Composable Architecture: Managing Stat...
-----
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
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: