Swift Tutorial: Unit Testing in iOS (2020)

  Рет қаралды 44,060

iOS Academy

iOS Academy

Күн бұрын

Introduction to Unit Testing in Swift 5 (2020). We'll explore what tests are, how to write them, and why they are so important.
💻 Source Code: / iosacademy
🎥 Subscribe for more: www.youtube.co...
😎 Like my teaching style? Check out some of my most popular courses!: courses.iosaca...
#swift #unittesting #iosdevelopment
iOS Academy offers the #1 course for iOS Development for Beginners. Learn to create iPhone and iPad apps from scratch. Everyone these days has an app idea; learn the important skill of making those apps, make yourself more marketable, change industries to get a different job, and enjoy the ride!
This video is brought to you by Skillshare - an only community of teachers sharing awesome skills. Use the following link to get 2 months of FREE premium: www.skillshare...

Пікірлер: 41
@filiprc3030
@filiprc3030 2 жыл бұрын
This is by far the best iOS channel. thx ;)
@nebilgokdemir4527
@nebilgokdemir4527 3 жыл бұрын
That is the best unit test video I have watched so far. Thank you so much
@iOSAcademy
@iOSAcademy 3 жыл бұрын
You’re welcome
@mahmoudhashim3720
@mahmoudhashim3720 2 жыл бұрын
Thanks Afraz you're saving our lives
@olirodd7086
@olirodd7086 4 жыл бұрын
If you don’t like full screen, hold option and press the green circle top left and you will trigger “Zoom” I have the menu item set to a keyboard shortcut with crtl+opt+cmd+z
@iOSAcademy
@iOSAcademy 4 жыл бұрын
Ahh great shortcut, thanks!
@edipocdf
@edipocdf 2 жыл бұрын
really good explanation, tks a lot.
@iOSAcademy
@iOSAcademy 2 жыл бұрын
Youre welcome
@marcos6718
@marcos6718 2 жыл бұрын
Thanks a lot! Great content, as usual!
@iOSAcademy
@iOSAcademy 2 жыл бұрын
Thanks
@tarunsharma8815
@tarunsharma8815 2 жыл бұрын
You simplified it so well. Thanks.
@iOSAcademy
@iOSAcademy 2 жыл бұрын
You're welcome!
@spacemulecode5861
@spacemulecode5861 2 жыл бұрын
Great Video, thanks!
@iOSAcademy
@iOSAcademy 2 жыл бұрын
No prob!
@JihadIsmail
@JihadIsmail 3 жыл бұрын
The zooming thing is very useful, Thanks for explanation.
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Youre welcome
@thejask2765
@thejask2765 2 жыл бұрын
Can I get to know how to add test cases for a pods project?
@mayankbhaisora2699
@mayankbhaisora2699 4 жыл бұрын
Is there a similar video for UITests as well?
@iOSAcademy
@iOSAcademy 4 жыл бұрын
Not yet, coming soon
@mayankbhaisora2699
@mayankbhaisora2699 4 жыл бұрын
@@iOSAcademy Okay
@rohitozvlogs1617
@rohitozvlogs1617 4 жыл бұрын
Helpful 🙌
@diglan78
@diglan78 2 жыл бұрын
Cool but u didn't show ut running at once with ut pan ..;)
@irsyadashari5536
@irsyadashari5536 3 жыл бұрын
Hi, how do I add the tests if I didn't check the "Include Unit test" checkbox in the beginning ?
@zicozibet
@zicozibet 3 жыл бұрын
From Xcode menu, go to File -> New -> Target and then from the template window, look for "Test section".
@andres-rodriguez
@andres-rodriguez 3 жыл бұрын
Working with JetBrains, I can tell XCode sucks.
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Fair point. Jetbrains is amazing
@andres-rodriguez
@andres-rodriguez 3 жыл бұрын
@@iOSAcademy I use AppCode for writing the code as this is a counterpart for Android Studio. Great video by the way. I need to look further for a Mockito type of library.
@xushnudkeldiboyev5393
@xushnudkeldiboyev5393 Жыл бұрын
I guess you're beginner
@andres-rodriguez
@andres-rodriguez Жыл бұрын
@@xushnudkeldiboyev5393 I am in iOS. I am disappointed about Xcode flaws as being the primary tool to write software for iOS.
@Денис-ж3ф5р
@Денис-ж3ф5р 3 жыл бұрын
This is a like.
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Thanks
@nekbeth
@nekbeth Жыл бұрын
Great video but unfortunately the constant zoom in and out makes this awesome tutorial unwatchable
@iOSAcademy
@iOSAcademy Жыл бұрын
Sorry about that - new videos have no zoom
@omerfarukozturk9720
@omerfarukozturk9720 Жыл бұрын
**DON'T ZOOM SCREEN** PLEASE
@iOSAcademy
@iOSAcademy Жыл бұрын
New videos have no zoom
@markosarkanj8524
@markosarkanj8524 3 жыл бұрын
This constant zooming in and out is soo iritating :-) I mean if someone is not able to follow mouse cursor will he really write unit tests?
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Haha new videos have no zoom
@smael1989
@smael1989 3 жыл бұрын
Great work, thanks
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Thanks
@palakgandhi1900
@palakgandhi1900 4 жыл бұрын
Thank you for the tutorial, that made things pretty easy :)
@iOSAcademy
@iOSAcademy 4 жыл бұрын
Youre welcome! Make sure to sub for more
MVVM + Dependency Injection in Swift | Unit Testing | iOS
29:29
Getting Started With Unit Testing | XCTest | Swift
31:15
Kilo Loco
Рет қаралды 52 М.
when you have plan B 😂
00:11
Andrey Grechka
Рет қаралды 66 МЛН
Поветкин заставил себя уважать!
01:00
МИНУС БАЛЛ
Рет қаралды 6 МЛН
Introduction to SwiftData - iOS Development
12:51
iOS Academy
Рет қаралды 10 М.
UI Testing Your iOS App (Xcode 13) - 2022
12:05
iOS Academy
Рет қаралды 41 М.
What is Unit Testing, Why We Use It, and Sample Test Cases
12:17
Lets Build That App
Рет қаралды 307 М.
XCTest + Swift: setUp/tearDown vs Factory Methods
13:10
Essential Developer
Рет қаралды 19 М.
#8 Intro to Swift Unit Testing
25:55
Swift Arcade
Рет қаралды 8 М.
Swift: How to Migrate MVC to MVVM & Intro Unit Testing
33:11
Lets Build That App
Рет қаралды 116 М.
Background Tasks in iOS (Swift & Xcode) - Beginners
25:47
iOS Academy
Рет қаралды 15 М.
Swift: Keychain Introduction (2022) - iOS
17:43
iOS Academy
Рет қаралды 27 М.
iOS Concurrency and Threading - iOS Interview Question - Swift
7:50
iOS Unit Test Mocking Tutorial
24:50
Code Pro
Рет қаралды 27 М.
when you have plan B 😂
00:11
Andrey Grechka
Рет қаралды 66 МЛН