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

新卒研修でテストカバレッジ99%を達成した話 / HTML 5 Conference 2018 Sponsor's LT

nodaguti
November 25, 2018

新卒研修でテストカバレッジ99%を達成した話 / HTML 5 Conference 2018 Sponsor's LT

HTML5 Conference 2018 のスポンサーズ LT の発表資料です.

nodaguti

November 25, 2018
Tweet

More Decks by nodaguti

Other Decks in Technology

Transcript

  1. ৽ଔݚमͰςετΧόϨοδ
    99%Λୡ੒ͨ͠࿩
    HTML5 Conference 2018 on 25th Nov 2018
    @nodaguti from CyberAgent, Inc.

    View full-size slide

  2. ࣗݾ঺հ
    • Tadahiro Noguchi (໺ޱ ௚׮)
    • @nodaguti
    • גࣜձࣾαΠόʔΤʔδΣϯτ ͷ 2018೥ଔɾ৽ଔ
    • AbemaTV ։ൃຊ෦ WebνʔϜॴଐ

    View full-size slide

  3. ৽ଔٕज़ݚमͷ֓ཁ
    • 4ਓνʔϜ, 24Ӧۀ೔Ͱ Slack Λ։ൃ͢Δ
    • 2ਓ͸ઐ໳ྖҬ͕߹க͍ͯ͠Δϝϯόʔ
    • 2ਓ͸ήʔϜɾΞυςΫϊϩδʔྖҬر๬ͷϝϯόʔ
    • αʔό͸ AWS, ΫϥΠΞϯτ͸ԿͰ΋Α͍
    • ෳ਺ਓಉ࣌઀ଓ, جຊతͳνϟοτػೳ, ϦΞΫγϣϯͳͲ
    ͷ "must" ػೳ͕ܾΊΒΕ͍ͯΔ
    • ్தͰϝϯόʔҠಈ͋Γ (1ਓ)
    • ࣾһϝϯλʔͷํ͕2ਓͣͭ෇͘

    View full-size slide

  4. ࣗ෼ͨͪͷνʔϜͷ੒Ռ͸…

    View full-size slide

  5. ϕετνʔϜ৆ड৆ʂ

    View full-size slide

  6. ׬੒ϓϩμΫτ঺հ
    • Public/
    Private
    channel
    • DM
    • Post / Edit /
    Delete
    • Reaction
    • Workspace
    (Create /
    Sign up)
    • Internation-
    alisation

    View full-size slide

  7. Q. ͳͥϕετνʔϜ৆Λ
    औΔ͜ͱ͕Ͱ͖ͨͷ͔ʁ

    View full-size slide

  8. A. ݎ࿚ͳ։ൃϓϩηε

    View full-size slide

  9. νʔϜ7͸υΩϡϝϯτ੔උ͕పఈ͞Ε͍ͯͨɻ
    ·ͨଟݴޠԽରԠͳͲɺαʔϏεϦϦʔεޙͷӡ༻Λݟӽ͠
    ͯ։ൃ͍ͯͨ͜͠ͱ͕ධՁͰ͖Δɻ
    νʔϜ7ͷମ੍͸ɺ৽͍͠ਓ͕δϣΠϯͯ͠΋͙͢ʹ։ൃʹͱ
    Γ͔͔͑Δମ੍΍ɺϑΣʔζϑΣʔζʹ͓͚ΔϓϩδΣΫτͷ
    ;Γ͔͑Γ͕͙͢Ͱ͖ΔΑ͏ʹͳ͍ͬͯΔɻ
    ͦ͏͍ͬͨମ੍͕ݱ৔ϨϕϧͰͰ͖͍ͯΔ͜ͱ͕ධՁͰ͖
    Δɻ

    View full-size slide

  10. ݎ࿚ͳ։ൃϓϩηε
    • ʮ࠶ݱੑͷ͋Δ։ൃʯ
    • ࢝·Δͱ͖ʹʮ͔ͤͬ͘ͷݚमͰझຯͷ։ൃͱ͸
    ҧ͏ͷ͔ͩΒɼ࣮຿Ϩϕϧͷ։ൃϑϩʔͰ΍ͬͯΈ
    Α͏ʯͱܾΊͨ
    • ۩ମతʹ͸…
    • υΩϡϝϯτͷ੔උ
    • ςετίʔυͷపఈ
    • CI
    • ίʔυϨϏϡʔ

    View full-size slide

  11. υΩϡϝϯτͷ੔උ esa

    View full-size slide

  12. ςετίʔυͷ੔උ ava + react-test-renderer + sinon

    View full-size slide

  13. Continuous Integration CircleCI 2.0

    View full-size slide

  14. Pull Request

    View full-size slide

  15. Pull Request

    View full-size slide

  16. ଞͷνʔϜ͸...
    • iOS ͰϓϩϑΟʔϧฤू΍ը૾౤ߘػೳͳͲɼͲ͜ΑΓ
    ΋׬੒౓ߴ͘࢓্͛ͨνʔϜ
    • ֆจࣈγϟϫʔػೳɼඒإػೳ෇͖ͷෳ਺ਓϏσΦ
    νϟοτػೳͳͲଟ࠼ͳػೳΛ੝ΓࠐΜͩνʔϜ
    • αʔόʔଆΛશͯ serverless (full managed) Ͱߏங͢Δ
    ͜ͱʹ௅ઓͨ͠νʔϜ
    • etc...

    View full-size slide

  17. We are hiring!
    https://www.cyberagent.co.jp/careers/
    ϒʔεʹ΋ͥͻཱ͓ͪدΓ͍ͩ͘͞ʂ

    View full-size slide