How to write good Unit Tests for iOS Apps in SwiftUI (2022)

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 ต.ค. 2024

ความคิดเห็น • 13

  • @nadyarozhina3311
    @nadyarozhina3311 2 ปีที่แล้ว +2

    Thank you! This is clearest description I have seen

  • @Anya1272
    @Anya1272 2 ปีที่แล้ว +2

    Such an amazing explanation! Thank you so much!

  • @tbg6nb
    @tbg6nb ปีที่แล้ว

    very nice and concise ! speaking about comparing the error messages at 13:13 I think it would be better to throw errors or have an enum with a raw type String which defines these messages

  • @gastongasquet3594
    @gastongasquet3594 2 ปีที่แล้ว +1

    Great video and better explanation. Subscribed.

  • @albertlu8407
    @albertlu8407 2 ปีที่แล้ว +1

    Fantastic work!

  • @Marvel2002
    @Marvel2002 2 ปีที่แล้ว +1

    very insightful sir thx

  • @mochamadnurkhayalkadafi1596
    @mochamadnurkhayalkadafi1596 ปีที่แล้ว

    Amazing explanation👍👍

  • @bryceellis112
    @bryceellis112 ปีที่แล้ว

    Very interesting video!

  • @xfabiosoft
    @xfabiosoft 3 หลายเดือนก่อน

    Very good on begging unit test, but nothing related to SwiftUI.

  • @ThyagoRaphael
    @ThyagoRaphael ปีที่แล้ว

    Thanks a million!

  • @dhaneshshastri1
    @dhaneshshastri1 ปีที่แล้ว

    Follow BDD (Behaviour Driven Development). With which we can cover all the interrelated dependencies for a particular flow also, the Views methods (not the actual UITests) are also covered under this. So ultimately we achieve close to more than 90% test coverage minimum. When I say BDD I actually mean business use cases for any SUT rather than individual methods. If we cover all the use cases all the methods (even private) will be covered. If any method is not covered, then we can safely remove this method as its not at all reachable and its unused.

  • @shafferzeyn9710
    @shafferzeyn9710 2 ปีที่แล้ว

    you are perfect

  • @nurirfanpangestu3696
    @nurirfanpangestu3696 2 ปีที่แล้ว

    great