Write Unit Tests in English? (SwiftUI TDD #7)
Автор: Quality Coding
Загружено: 2025-09-30
Просмотров: 190
🧠 Writing a SwiftUI test can feel tricky — especially when tools like ViewInspector aren’t in place yet. Instead of getting stuck, we’ll use Llewellyn Falco’s natural language technique to design our first test: verifying that the initial count is zero.
🛠 In this video:
• How to outline a SwiftUI test in plain English before coding
• Committing a test-only change as a safe starting point
• Cleaning up leftover template tests
📖 Companion article:
Describe Your Test in Plain English
https://qualitycoding.org/describe-te...
🔔 Subscribe for the full SwiftUI with TDD video series.
More posts: https://qualitycoding.org/tdd-swiftui...
⏱ Timestamps:
00:00 – Why we start with natural language
00:36 – Outlining the “initial count is zero” test
01:15 – Commit the test outline
01:42 – Delete leftover template tests
#TestDrivenDevelopment #TDD #SwiftUI #Xcode #iOSDevelopment #UnitTesting
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: