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

テストを書かない言い訳をした結果wwwwwww

 テストを書かない言い訳をした結果wwwwwww

iOS Test Night #4 - connpass
https://testnight.connpass.com/event/54316/
での発表資料です。

発表中で紹介した、Xcodeで実装⇄テストファイルにジャンプするスクリプトはこちら。
https://github.com/takasek/XCJumpToTests

takasek

May 22, 2017
Tweet

More Decks by takasek

Other Decks in Programming

Transcript

  1. 3

  2. 4

  3. 5

  4. 6

  5. 7

  6. 8

  7. ςετॻ͖ͨ͘ͳ͍ཧ༝ᶄ ෛ࠴ʹͳΓ΍͍͢ "The dependencies between packages should be in the

    direction of the stability of the packages. A package should only depend upon packages that are more stable than it is. " 1 ύοέʔδͷґଘؔ܎͸ɺ҆ఆੑͷํ޲ʹґΒͳ͚Ε͹ͳΒͳ͍ɻ ύοέʔδ͸ɺΑΓ҆ఆͨ͠ύοέʔδʹͷΈґଘ͢΂͖ͩɻ ɹɹɹɹɹɹɹɹɹɹɹɹɹɹɹɹɹɹɹɹɹɹɹɹɹɹɹ- Robert C. Martin 1 Stable Dependencies Principle http://wiki.c2.com/?StableDependenciesPrinciple 11
  8. XcodeͷγϣʔτΧοτΩʔ ࣮ࡍศརͳͷͰ֮͑Α͏ ⇧⌘Ο :ɹOpen Quickly ... (ΠϯΫϦϝϯλϧαʔν) ⌃⌘← :ɹGo Back

    (໭Δ) ⌃⌘→ :ɹGo Forward (ਐΉ) ⌘1ʙ3 :ɹNavigator(ࠨϖΠϯ)੾Γସ͑ ⌃{ / ⌃} :ɹShow Next/Previous Tab ⌃1 : Show Related Items (history΍sub/superclass౳) 19
  9. 29

  10. 30

  11. 31

  12. 33

  13. 34

  14. ۤ࿑ͨ͠఺ᶅ εΫϦϓτΤσΟλ͔Βͷॻ͖ग़͠ܗࣜ͸ෳ਺͋Δ͕ɺ Custom Behavior͔Βݺͼग़ͨ͢Ίʹ͸ίπ͕͍Δɻ 4 ΞϓϦ ( app = ୯ମ࣮ߦՄೳ)

    4 Behaviorʹ͸ࢦఆͰ͖ͳ͍ 4 ࣮ߦઐ༻όΠφϦ ( scptd = ୯ମ࣮ߦՄೳ) 4 Behavior͔ΒݺͿͱ Permission Denied ʹͳΔ 4 chmod +x ͯ͠΋ղܾͤͣ 4 ݰؔͱͯ͠γΣϧεΫϦϓτט·ͤΕ͹ಈ͘ 4 εΫϦϓτ ( scpt ) !͜Ε͕ਖ਼ղͬΆ͍ 4 scpt ϑΝΠϧʹ chmod +x ͯ͠୯ମ࣮ߦՄೳʹ͢Δ 4 scpt ϑΝΠϧͷ๯಄ʹshebangΛ͚ͭΔ"ɹ #!/usr/bin/osascript 37