iOS Dev 32: Getting Started with Snapshot Testing | Swift 5, XCode 13

preview_player
Показать описание
In this video, we cover the basics of Snapshot Testing in iOS.

We start by creating an app that displays 'Hello World' with white/black background depending on the nightMode value.

Next, we learn how to write snapshot tests, record/update snapshots, and view differences in failing snapshots.

Finally, we implement a helper function that allows us to be able to create storyboard instances of a ViewController.

Say Hi on Social Media:

Additional Materials:

Video Content
1. Introduction 00:00
2. What is Snapshot Testing? 00:43
3. Project Setup 02:30
4. Installing SnapshotTesting 07:19
5. Test Default State 09:34
6. Failing Snapshot Diff 18:28
7. Update Snapshot Reference 20:47
8. Test Dark Mode 23:37
9. Cherry on top 25:38
10. Conclusion 29:21
Рекомендации по теме
Комментарии
Автор

Thanks for sharing your experience with us n_n.
Can you make a video explaining how to use correctly the wait strategy when creating snapshots for async views?

andrespaladines
Автор

Thank you very much for your video content. Do you have any suggestions to reduce the time in tests written by adding wait time in a project with many snapshots?

rrr
Автор

Awesome, you definitely make learning and easy and great experience 👍🏽
Kudos👍🏽

ihemjiereokwara
Автор

Thanks, Emmanuel!

This video helped a lot.

Makes snapshot testing very easy.

mihaipivniceru
Автор

Very clear explanation. Definitely enjoyed this topic.

thattechemmanuel
Автор

Xcode 13 is not recording videos.
Can you give me expert advice.

muhammadqasim_Abdullah
Автор

Hello sir, you made incredible content. It helps me a lot in learning Swift. Do you mind making the API for the yummie food order app function again? I can make some donation to you if you need.
Thank you and have a meaningful Thanksgiving with your family.

tonghophoctienganhtructuye
join shbcf.ru