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

一休.comのE2Eテスト事情 ~ギリギリ話せるところまで話します~ /cybozu_ikyu_e2e

一休.comのE2Eテスト事情 ~ギリギリ話せるところまで話します~ /cybozu_ikyu_e2e

一休.com宿泊サイトのE2Eテスト事情をギッリギリまで話しました。このスライドを見た方は一休のエンジニアより一休のE2Eに詳しくなると自負しております。

shota akasaka

April 21, 2016
Tweet

More Decks by shota akasaka

Other Decks in Technology

Transcript

  1. ҰٳDPNͷ&&ςετࣄ৘
    dΪϦΪϦ࿩ͤΔͱ͜Ζ·Ͱ࿩͠·͢d
    αΠϘ΢ζºҰٳ߹ಉษڧձ೥݄೔
    גࣜձࣾҰٳ੺ࡔᠳଠ

    View full-size slide

  2. ࣗݾ঺հ
    w ੺ࡔᠳଠʢ͔͔͋͞͠ΐ͏ͨʣ
    w ॓ധࣄۀຊ෦γεςϜ։ൃ෦
    w ॓ധαΠτͷαʔϏε։ൃ΍ͬͯ·͢

    View full-size slide

  3. "HFOEB
    w ҰٳDPNͷ&&ӡ༻ࣄ৘
    w ΠέͯΔͱ͜Ζɾ޻෉͍ͯ͠Δͱ͜Ζ
    w Πέͯͳ͍ͱ͜Ζɾվળ͍ͨ͠ͱ͜Ζ
    w +FOLJOTབྷΈͷτϥϒϧγϡʔςΟϯά
    w ·ͱΊ

    View full-size slide

  4. ҰٳDPNͷ&&ӡ༻ࣄ৘

    View full-size slide

  5. લఏ
    w ҰٳDPN͸ϗςϧɾཱྀؗͷ॓ധ༧໿αΠτͰ͢
    w &$αΠτͰ༧໿͕ग़དྷͳ͍ͷ͸க໋త
    w ػձଛࣦେ͖͍
    ͜͜ॏཁͰ͢ɻ
    ςετʹग़·͢ɻ
    ͜ΜͳϢʔβʔͳ͍ͨ͘͠

    View full-size slide

  6. ֬ೝ͢Δςετʹ͍ͭͯ
    w ֬ೝ؍఺
    w ਖ਼ৗʹʮ༧໿ʯʮมߋʯʮऔফʯ͕Ͱ͖Δ͜ͱ
    w ࢼݧέʔε
    w έʔεఔ౓ʢ༧໿ͱҰݴͰݴͬͯ΋ɺ͍ΖΜͳύλʔϯ͕͋Δʣ

    w ࢼݧ࣮ࢪλΠϛϯά
    w ຊ൪ϦϦʔεޙ

    View full-size slide

  7. ͡Ό͋ɺͲ͏͢ΔΑʁ

    View full-size slide

  8. ೥લ
    ˞ຊ൪ϦϦʔεޙɺखಈͰ༧໿֬ೝΛ͍ͯ͠Δֆ

    View full-size slide

  9. ࠓݱࡏ
    4UBHJOH؀ڥ
    1SPEVDUJPO؀ڥ

    View full-size slide

  10. ࠓݱࡏ
    ˞ຊ൪ϦϦʔεޙɺ&&Ͱ༧໿֬ೝΛ͍ͯ͠Δֆ

    View full-size slide

  11. ΠέͯΔɾ޻෉͍ͯ͠Δͱ͜Ζ

    View full-size slide

  12. 1BHF0CKFDU%FTJHO
    1BUUFSOͰ࡞Γ·ͨ͠

    View full-size slide

  13. 1BHF0CKFDU%FTJHO1BUUFSO
    w ΞϓϦέʔγϣϯͷը໘Λ̍ͭͷΦϒδΣΫτͱͯ͠ͱΒ͑ΔσβΠϯύλʔϯ
    w ίʔυΛେ·͔ʹ̎छྨʹ෼ׂ
    w ϖʔδΫϥεͷεΫϦϓτ
    w ը໘୯ҐͰ࡞੒
    w Ϙλϯ΍ςΩετϑΟʔϧυͳͲͷ)5.-ཁૉΛ؅ཧ
    w ςετέʔεγφϦΦͷεΫϦϓτ
    w ϖʔδΫϥεͷϝιουΛݺͼग़͢
    w ௚઀)5.-ཁૉΛૢ࡞͠ͳ͍

    View full-size slide

  14. Πϝʔδਤ
    ϖʔδΫϥε ϖʔδΫϥε ϖʔδΫϥε ϖʔδΫϥε
    ςετγφϦΦ
    ςετγφϦΦ
    w ςετγφϦΦʹରͯ͠ϖʔδΫϥεΛίʔϧ͢Δ

    View full-size slide

  15. Կ͕͓͍͍͠ͷʁ
    w ϝϯςφϯεੑ͕ߴ͍
    w 6*มߋ͞Εͯ΋ɺཁૉͷఆٛ෦෼Λมߋ͢Δ͚ͩͰ0,
    w ը໘ΛΫϥεͱଊ͍͑ͯΔͨΊɺमਖ਼ՕॴΛݟ͚ͭ΍͍͢

    View full-size slide

  16. w ϓϥϯৄࡉը໘ͷ*%มߋ
    ࣮ྫ
    ˙QMBO@EFUBJM@QBHFSC
    DMBTT1MBO%FUBJM1BHF
    EFGHP@UP@CPPLJOH

    ESJWFSpOE@FMFNFOU JE lʮ༧໿΁͢͢ΉʯϘλϯͷ*%z
    DMJDL
    ʮ༧໿΁͢͢ΉʯϘλϯԡԼ
    FOE
    ʜ
    FOE

    View full-size slide

  17. Կ͕͓͍͍͠ͷʁ
    w Մಡੑ͕ߴ͍
    w ςετγφϦΦʹ͸ඞཁͳಈ࡞ͷΈΛهड़͍ͯ͠Δ
    ͨΊɺͲͷΑ͏ͳॲཧΛ͍ͯ͠Δͷ͔೺Ѳ͠΍͍͢

    View full-size slide

  18. ࣮ྫ
    ϓϥϯৄࡉˠձһೝূˠ༧໿৘ใೖྗˠ֬ೝˠ׬ྃ
    ççççEFUBJM1MBO%FUBJM1BHFOFX !XE

    ççççEFUBJMHP@UP@CPPLJOH
    çççç
    ççççBVUI#PPLJOH"VUI1BHFOFX !XE

    ççççBVUINFNCFS@MPHJO EBUB VTFS
    EBUB QBTTXPSE


    çççç
    ççççJOGP@JOQVU#PPLJOH*OGP*OQVU1BHFOFX !XE
    çç
    ɹɹJOGP@JOQVUTFU@QBZNFOU@NFUIPE 1":.&/5@.&5)0%@-0$"-

    ççççJOGP@JOQVUHP@UP@DPOpSN
    ççççDPOpSN#PPLJOH$POpSN1BHFOFX !XE

    ççççDPOpSNHP@UP@CPPL
    ççççDPNQMFUFE#PPLJOH$PNQMFUFE1BHFOFX !XE
    ççççççç
    ççççMPHPVU !XE !CBTF@VSM

    View full-size slide

  19. ΋͏ͪΐͬͱ
    ಥͬࠐΜͩ࿩͠·͠ΐ͏
    ΪϦΪϦͷͱ͜Ζ

    View full-size slide

  20. σΟϨΫτϦߏ੒

    View full-size slide

  21. ؀ڥຖͷઃఆϑΝΠϧ
    ςετର৅63-΍ಡࠐΉࢼݧέʔε͸͜͜ʹهड़͢Δ

    View full-size slide

  22. 1BHF#BTF$MBTTFUD

    View full-size slide

  23. 1BHF#BTF$MBTTFUD
    w 1BHF$MBTTܧঝݩͱͳΔڞ௨Ϋϥε
    w ఆ਺Ϋϥε
    w 1BHF$MBTT-PBEJOH༻ͷΫϥε

    View full-size slide

  24. 1BHF#BTF$MBTT
    w ڞ௨ϝιου 4DSFFOTIPU ϒϥ΢βόοΫFUD

    w ࢼݧέʔεಡΈࠐΈ

    View full-size slide

  25. 1BHF$MBTTσΟϨΫτϦߏ੒
    w ֤αϒγεςϜຖʹσΟϨΫτϦ෼͚͍ͯΔ
    w 1$
    w εϚϗ

    View full-size slide

  26. 1BHF$MBTTσΟϨΫτϦߏ੒
    w ػೳຖʹσΟϨΫτϦ෼͚͍ͯΔ
    w ༧໿
    w มߋ
    w Ωϟϯηϧ

    View full-size slide

  27. 1BHF$MBTT$PEF
    w ͦͷϖʔδͰͷΞΫγϣϯΛϝιουͱͯ͠هड़

    View full-size slide

  28. 5FTU$BTFσΟϨΫτϦߏ੒
    w ֤αϒγεςϜຖʹσΟϨΫτϦ෼͚͍ͯΔ
    w ࢼݧέʔεͰ౉͢ύϥϝʔλ͸$47Ͱ؅ཧ

    View full-size slide

  29. UFTUDBTFσΟϨΫτϦߏ੒
    w ಉ͡αϒγεςϜͰ΋ɺύλʔϯΛม͍͑ͯΔ
    w ͭͷσΟϨΫτϦʹςετέʔε͸ͭ

    View full-size slide

  30. 5FTU$BTF$PEF
    w $47Ͱ؅ཧ͞Ε͍ͯΔύϥϝʔλΛड͚औΔ
    w 1BHF$MBTTͷϝιουΛݺͼग़͍ͯ͠Δ

    View full-size slide

  31. +FOLJOT+PCߏ੒
    w ਌ࢠͰ+PCΛ෼͚ͯɺฒྻͰ࣮ߦ
    w Ұͭͷࢠ+PCʹςετέʔεͭʢ̐෼ఔ౓ʣ
    w ࣮ߦ࣌ؒ͸4UBHJOH؀ڥɿ෼ɺ1SPEVDUJPO؀ڥɿ෼
    1BSFOU
    +PC
    $IJME
    +PC
    $IJME
    +PC
    $IJME
    +PC
    $IJME
    +PC
    $IJME
    +PC
    $IJME
    +PC
    $IJME
    +PC
    $IJME
    +PC
    $IJME
    +PC
    $IJME
    +PC
    $IJME
    +PC
    $IJME
    +PC
    $IJME
    +PC
    $IJME
    +PC

    View full-size slide

  32. Πέͯͳ͍ɾվળ͍ͨ͠ͱ͜Ζ

    View full-size slide

  33. 'BJMVSF/PUJpDBUJPO
    w 8BOUUPCF
    w Ͳ͜Ͱམ͍ͪͯΔ
    w Τϥʔϩά
    w ൜ਓ௻Δ্͛͠

    View full-size slide

  34. 'BJMVSF3FTVMU
    Ͳͬͪʁʢͨ·ʹӕ͔ͭΕΔʣ

    View full-size slide

  35. ৄ͘͠ݟΔͱɾɾɾ
    w 8BOUUPCF
    w ӕ͔ͭͳ͍
    w ݟ΍͍͢ΤϥʔϨϙʔτ

    View full-size slide

  36. +FOLJOTབྷΈͷτϥϒϧγϡʔςΟϯά

    View full-size slide

  37. +FOLJOT͓͡͞Μ
    ͷͭΒ͍ͱ͜Ζ

    View full-size slide

  38. ୯ମ࣮ߦͰ͸ύε͢Δ͕ɺ
    +FOLJOTܦ༝ͷฒྻ࣮ߦͰ
    ͚͜Δɻɻɻ

    View full-size slide

  39. ͍͔ͭ͘͝঺հ

    View full-size slide

  40. +BWB4DSJQU&SSPSFJTOVMMz໰୊
    w +FOLJOT͔Β'JSFGPYଟॏىಈ࣌ʹൃੜ
    w ݪҼ
    w 4MFFQΛ࢖͍ͬͯͨͷ͕ɺΑΖ͘͠ͳ͔ͬͨ
    6TJOH5ISFBETMFFQ
    BMTPDBODBVTFJU
    CFDBVTFJUJODSFBTFTPWFSIFBETPJOTUFBE
    JNQMJDJUMZ8BJUPS8FC%SJWFS8BJUTIPVMECFVTFE

    View full-size slide

  41. +BWB4DSJQU&SSPSFJTOVMMzରࡦ
    w 4MFFQΑΓ8BJUΛ࢖͏
    w ରॲ๏
    w ڞ௨ΫϥεͰ8FCESJWFSىಈ࣌ʹ8BJUઃఆ
    ESJWFS4FMFOJVN8FC%SJWFSGPSpSFGPY
    ESJWFSNBOBHFUJNFPVUTJNQMJDJU@XBJUTFDPOET
    ESJWFSpOE@FMFNFOU JEIPHF
    DMJDL

    View full-size slide

  42. QPSUMPDL໰୊
    w +FOLJOT͔Β'JSFGPYଟॏىಈ࣌ʹൃੜ
    w ࣄ৅
    w VOBCMFUPCJOEUPMPDLJOHQPSU
    XJUIJOTFDPOET

    View full-size slide

  43. QPSUMPDLରࡦdͦͷd
    w XFCESJWFSઃఆ࣌ʹQPSU൪߸Λࢦఆ͢Δ
    w QPSU൪߸ࢦఆ͸ಈతʹͰ͖ΔͱɺঘΑ͠
    QPSU
    ESJWFS4FMFOJVN8FC%SJWFSGPS pSFGPY QPSUQPSU QSPpMF
    QSPpMF

    View full-size slide

  44. QPSUMPDLରࡦdͦͷd
    w UJNFPVUมߋ
    w MJCTFMFOJVNXFCESJWFSpSFGPY
    MBVODIFSSCͰUJNFPVUมߋ
    w HFNʹ௚઀खΛೖΕΔͱ͍͏ɻɻɻ
    w ఆ਺ఆ͍ٛͯ͠Δͱ͜Ζͩ͠ɺ໰୊ͳ͍͸ͣ
    40$,&5@-0$,@5*.&065

    View full-size slide

  45. ·ͱΊ
    w ίνίνखಈͰ΍͍ͬͯͨςετΛͳΜ΍͔Μ΍ͰࣗಈԽ
    w +FOLJOT͓͡͞Μʹۤ͠Έͭͭɺ஌ݟΛஷΊͯɺͳΜͱ͔
    ҆ఆӡ༻͍ͯ͠Δ
    w 1BHF0CKFDU%FTJHO1BUUFSOͰ΍ͬͨͷ͸΋ͪΖΜͩ
    ͕ɺσΟϨΫτϦߏ੒΍1BHF$MBTTFUDͰ޻෉
    w ͔͠͠ɺΠέͯͳ͍ͱ͜Ζ΋ଟʑ͋Δ
    w ৳ͼ͠ΖͰ͢Ͷʂʂʂ

    View full-size slide

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

    View full-size slide