Upgrade to Pro — share decks privately, control downloads, hide ads and more …

XCTestを目的別で分けるすすめ

gaopin
March 13, 2018

 XCTestを目的別で分けるすすめ

potatotips #49

gaopin

March 13, 2018
Tweet

More Decks by gaopin

Other Decks in Technology

Transcript

  1. XCTestΛ໨తผͰ෼
    ͚Δ͢͢Ί
    ߴদ޾ฏ(gaopin1534)

    View full-size slide

  2. ࣗݾ঺հ
    • ߴদ޾ฏ(gaopin1534)
    • ๭ਓࡐܥاۀۈ຿
    • iOSྺ1೥൒͘Β͍
    • ΋ͱ΋ͱ͸PHPͱ͔Rubyͱ͔ͱ஥ྑ͠
    • try! Swift2018ϘϥϯςΟΞελοϑͯ͠·ͨ͠
    • Bloodborneͱ͔େ޷͖

    View full-size slide

  3. ͔͜͜Βઌ͸ϑΟΫγϣϯͰ͢
    ࣮ࡍͷਓ෺ஂମͱ͸(ry
    by Graham Richardson (https://goo.gl/TWQAqB)

    View full-size slide

  4. ΅͘ɺϓϩμΫτ഑ଐ

    View full-size slide

  5. ΩϟονΞοϓΛࡁ·ͤ

    View full-size slide

  6. ͋Δ͜ͱʹؾͮ͘

    View full-size slide

  7. ࣗಈςετίέͱΔ΍Μ͚

    View full-size slide

  8. ΅͘ʮࣗಈςετίέͱΔΑʯ

    View full-size slide

  9. νʔϜͷਓ
    ʮͦΕͰ໰୊ͳ͍Μ΍Ͱʯ

    View full-size slide

  10. ʂʂʁʂʁʁʂʁ
    ʂʁʂʁʂʁʂʁ
    ʂʁʂʁʂʁ

    View full-size slide

  11. Unitςετͱ͸ʁʁ

    View full-size slide

  12. Ͱ΋ؾ࣋ͪ͸Θ͔Δ

    View full-size slide

  13. ๲େͰෳࡶͳϩά
    by brownpau (https://goo.gl/JBxkKE)

    View full-size slide

  14. ϩάςετͱ
    ৼΔ෣͍ςετ͕ಉډ

    View full-size slide

  15. ςετλʔήοτΛ෼ׂ͠Α͏
    by Andrew Watson (https://goo.gl/Whco93)

    View full-size slide

  16. λʔήοτΛ௥Ճ

    View full-size slide

  17. ʮiOS Unit Testing BundleʯΛ௥Ճ

    View full-size slide

  18. λʔήοτ௥ՃͰ͖ͨʂ

    View full-size slide

  19. ෼ׂ͍ͨ͠ςετϑΝΠϧͷϝϯόʔγοϓΛมߋ

    View full-size slide

  20. ݸผʹ࣮ߦͰ͖ΔΑ͏ʹʂʂ

    View full-size slide

  21. ͓͢͢Ίͷ෼ׂ
    • ࣮ߦ͍ͨ͠λΠϛϯά͕ҧ͏
    • ࣮ߦ͢Δൣғ͕ҧ͏
    • ผνʔϜͰ࡞ۀ͍ͯ͠Δˡ͜Ε͸ඍົ͔΋

    View full-size slide

  22. ͝ਗ਼ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠

    View full-size slide