Swift Tutorial: Unit Testing in iOS (2020)

Поделиться
HTML-код
  • Опубликовано: 2 ноя 2024
  • 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 ;)

  • @mahmoudhashim3720
    @mahmoudhashim3720 2 года назад

    Thanks Afraz you're saving our lives

  • @nebilgokdemir4527
    @nebilgokdemir4527 3 года назад +1

    That is the best unit test video I have watched so far. Thank you so much

  • @edipocdf
    @edipocdf 2 года назад +1

    really good explanation, tks a lot.

  • @olirodd7086
    @olirodd7086 4 года назад +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!

  • @irsyadashari5536
    @irsyadashari5536 3 года назад +5

    Hi, how do I add the tests if I didn't check the "Include Unit test" checkbox in the beginning ?

    • @zicozibet
      @zicozibet 3 года назад +1

      From Xcode menu, go to File -> New -> Target and then from the template window, look for "Test section".

  • @marcos6718
    @marcos6718 2 года назад +1

    Thanks a lot! Great content, as usual!

  • @tarunsharma8815
    @tarunsharma8815 2 года назад

    You simplified it so well. Thanks.

  • @palakgandhi1900
    @palakgandhi1900 4 года назад +4

    Thank you for the tutorial, that made things pretty easy :)

    • @iOSAcademy
      @iOSAcademy  4 года назад +1

      Youre welcome! Make sure to sub for more

  • @thejask2765
    @thejask2765 2 года назад

    Can I get to know how to add test cases for a pods project?

  • @spacemulecode5861
    @spacemulecode5861 3 года назад

    Great Video, thanks!

  • @mayankbhaisora2699
    @mayankbhaisora2699 4 года назад +2

    Is there a similar video for UITests as well?

  • @diglan78
    @diglan78 2 года назад

    Cool but u didn't show ut running at once with ut pan ..;)

  • @rohitozvlogs1617
    @rohitozvlogs1617 4 года назад

    Helpful 🙌

  • @andres-rodriguez
    @andres-rodriguez 3 года назад +1

    Working with JetBrains, I can tell XCode sucks.

    • @iOSAcademy
      @iOSAcademy  3 года назад +1

      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 года назад +1

    This is a like.

  • @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

  • @markosarkanj8524
    @markosarkanj8524 3 года назад +1

    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 года назад +2

      Haha new videos have no zoom

  • @smael1989
    @smael1989 3 года назад

    Great work, thanks