Mastering Swift Testing: Run Serialized Tests with One Line of Code!

Опубликовано: 03 Июль 2024
на канале: Swift and Tips
439
14

In this video, we'll explore the powerful new Swift Testing framework launched by Apple, designed to make unit testing seamless and efficient. One standout feature of Swift Testing is its ability to run all tests in parallel by default, significantly speeding up your development process.

However, some tests need to run in a specific order due to dependencies. We'll show you how to configure serialized tests in Swift Testing with just one line of code! Learn how to refactor your tests from XCTest to Swift Testing while maintaining the necessary test order.

---

Previous Episode (Parallel Tests):    • Mastering Swift Testing: Effortless P...  
Swift Testing Playlist:    • Swift Testing  

OnlineStoreMV Project: https://github.com/pitt500/OnlineStor...
Xcode 16's Code Completion:    • First Look at Xcode 16's Code Complet...  

Content:
0:00 - Intro
1:30 - XCTests running serialized
4:49 - Migrating to Swift Testing
6:15 - Swift Tests Serialized
10:12 - Outro

-----

Other videos from my channel:
Podcast:    • Swift and Tips Podcast  
any Protocol (Existential Types):    • "any" Keyword and Existential types i...  
The Composable Architecture (TCA):    • The Composable Architecture  
Apple Watch Layout using Geometry Reader:    • Building Apple Watch Layout with Geom...  
Key Paths:    • The Anatomy of a Key Path  
Result Builders:    • Result Builders in Action: Simplifyin...  
Types of Access Control:    • All types of Access Control in Swift ...  
Generics:    • Generics  

-----
My Contact:
https://www.swiftandtips.com
  / swiftandtips  
https://iosdev.space/@swiftandtips
  / pedrorojaslo  


Смотрите видео Mastering Swift Testing: Run Serialized Tests with One Line of Code! онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Swift and Tips 03 Июль 2024, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 439 раз и оно понравилось 14 людям.