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

The case of DX improvement initiative using PR-Driven E2E Test

The case of DX improvement initiative using PR-Driven E2E Test

LINE Fukuoka & ヤフー福岡 Developer Meetup #1
https://line.connpass.com/event/206495/
2021/3/30

PR-Driven E2E Testを用いた開発者体験向上の取り組み事例
金子 茉以 (開発2室テスト自動化チーム, LINE Fukuoka)

53850955f15249a1a9dc49df6113e400?s=128

LINE Developers
PRO

March 30, 2021
Tweet

Transcript

  1. PR-Driven E2E TestΛ༻͍ͨ ։ൃऀମݧ޲্ͷ औΓ૊Έࣄྫ -*/&'VLVPLB開発室 テスト自動化チーム 金子 茉以 

  2. ࣗݾ঺հ ໊લۚࢠ ᣈҎ ,BOFLP.BJ ձࣾ-*/&'VLVPLB ໾ׂ4&5 4PGUXBSF&OHJOFFSJO5FTU ୲౰ϓϩδΣΫτ-*/&$SFBUPST.BSLFU લ৬γεςϜΤϯδχΞ झຯαοΧʔ؍ઓ

    ͋ͭ·ΕͲ͏Ϳͭͷ৿
  3. ຊ೔ͷൃදͰ఻͍͑ͨ͜ͱ -*/&'VLVPLBͷ4&5͕ ͲͷΑ͏ͳ໨తΛ࣋ͪ ͲͷΑ͏ͳऔΓ૊ΈΛߦͳ͍ͬͯΔͷ͔ ஌ͬͯ΄͍͠

  4. ΞδΣϯμ ։ൃऀମݧͱ͸ -*/&$SFBUPST.BSLFU ໾ׂͷมભ ςετࣗಈԽΤϯδχΞͷऔΓ૊Έ • ςετࣗಈԽΤϯδχΞͷͱ͖ͷ໰୊఺ 4&5ͷऔΓ૊Έ • 13%SJWF&&5FTU

    • 4&5ͱͯ͠։ൃνʔϜʹೖͬͨ݁Ռ ՝୊ͱࠓޙͷऔΓ૊Έ ·ͱΊ ࠷ޙʹ
  5. ։ൃऀମݧͱ͸ ։ൃऀମݧ %FWFMPQFSF9QFSJFODF %9 ։ൃऀ͕ ։ൃ͠΍͍͢ ؀ڥΛ ੔͑Δ͜ͱ ςετ

  6. -*/&$SFBUPST.BSLFU ೥݄αʔϏε։࢝ ελϯϓ ண͔ͤ͑ ֆจࣈ ੍࡞ɾൢച

  7. d d ໾ׂมભ ։ൃ 2" ։ൃ 2" ςετࣗಈԽ ΤϯδχΞ 4&5

  8. ςετࣗಈԽΤϯδχΞͷऔΓ૊Έ ϦάϨογϣϯςετΛࣗಈςετͰΧόʔ αʔϏε඼࣭ ʹϑΥʔΧε &&ςετ ʹಛԽ 2"νʔϜͱ ίϛϡχέʔ γϣϯ ϝΠϯγφϦΦ

    Χόʔ ೔ʹճ 4UBHJOH1SPEVDUJPO ؀ڥͰ࣮ߦ
  9. ಛఆ৚݅ͷ ςετ࣮ߦࠔ೉ ໰୊఺ αʔϏεมߋʹ ࣗಈςετରԠ͕஗ΕΔ ։ൃऀ΁ͷ ϑΟʔυόοΫ͕஗͍ 2"νʔϜ΋ಉ͡%#Λ࢖͍ͬͯΔͨΊ ؆୯ʹࣗಈςετͷͨΊʹ%#ͷঢ়ଶΛมߋͰ͖ͳ͍ ϦϑΝΫλϦϯάɾ৽نػೳ௥ՃͳͲͷ৔߹ʹ

    ࣗಈςετ͕Ұؾʹ่յ σϓϩΠͨ͠ޙʹόάΛݕ஌ͯ͠΋ ։ൃऀ͸࣍ͷλεΫʹऔΓ૊ΜͰ͍Δ
  10. ։ൃऀ΁ͷϑΟʔυόοΫ͕஗͍ ػೳ"ͷόάमਖ਼࣌ ख໭Γ͕ൃੜ͢Δ

  11. 4&5ͷऔΓ૊Έ ։ൃऀମݧͷ޲্ ςετ ϓϥοϑΥʔϜ ࡞੒ αʔϏε։ൃ 13%SJWFO &&5FTU ςετʹ ඞཁͳ։ൃ

    ςετʹؔ܎ͷ ͳ͍෦෼΋։ൃ ։ൃɾ2"ͱ ίϛϡχέʔ γϣϯ
  12. 13%SJWFO&&5FTU -*/&%&7&-01&3%": ,VCFSOFUFTΛ༻͍ͨ1VMM3FRVFTUۦಈ&&ςετ IUUQTMJOFEFWEBZMJOFDPSQDPNKBTFTTJPOT

  13. 13%SJWFO&&5FTU 13 4FSWFS %# 5FTU 13 4FSWFS %# 5FTU 13

    4FSWFS %# 5FTU
  14. 13%SJWFO&&5FTU ػೳ#ʹऔΓֻ͔Δલʹ ػೳ"ͷόάमਖ਼͕Մೳ ૣ͍ϑΟʔυόοΫ͕Մೳ

  15. 4&5ͱͯ͠։ൃνʔϜʹೖͬͨ݁Ռ 2"ϑΣʔζલʹόάमਖ਼׬ྃ &&ςετͷରԠ଎౓޲্ ૣ͍ϑΟʔυόοΫ࣮ݱ ։ൃϝϯόʔ͕&&ςετ಺༰Λ ཧղ͠΍͘͢ͳͬͨ E2Eςετ͕OutageͷରԠࡦʹ ඞཁͳσʔλΛ༻ҙ͢Δ͜ͱͰ ࣮ݱՄೳ ಛఆ৚݅ςετ࣮ߦՄೳ

    4&5Ҏ֎΋&&ςετΛ࡞੒ ΧελϜଐੑ෇༩͕౰ͨΓલʹ E2Eςετ΁ͷؔ৺౓૿
  16. ΧελϜଐੑ 4&5͚͕ͩ෇༩͢ΔͷͰ͸ͳ͘ɺ ϑϩϯτΤϯυΤϯδχΞ͕ੵۃతʹ෇༩ͯ͘͠ΕΔ ࢀߟͳͥ&&ςετͰJEΛ͔ͭ͏΂͖Ͱ͸ͳ͍ͷ͔ IUUQTCMPHBVUJGZDPNKBXIZJETIPVMEOPUCFVTFE αʔϏείʔυมߋʹڧ͍&&ςετ͕ॻ͚Δ

  17. TO BE ཧ૝ AS IS ݱঢ় Τϥʔ ݪҼಛఆ ࣮ߦ࣌ؒ ςετ

    ࠷దԽ ,TͷதʹೖͬͯϩάΛ ݟΔඞཁ͕͋Δ ໿෼ 13%SJWFO&&5FTU Ͱͷόάݟམͱ͠ ϩάू໿ػೳ௥Ճ ෼ ૣ͍ϑΟʔυόοΫΛ ͞Βʹ࣮ݱ ՝୊ͱࠓޙͷऔΓ૊Έ ϓ ϥ ỽ τ ϑ Ỽ ồ Ϝ ς ε τ
  18. ·ͱΊ -*/&'VLVPLBͷ4&5͸ ςετΛ༗ޮ׆༻ͯ͠։ൃऀମݧ޲্Λ໨ࢦ͍ͯ͠Δ • 13%SJWFO&&5FTUಋೖͰ։ൃऀ΁ૣ͍ϑΟʔυόοΫΛ࣮ݱ • ςετ෦෼͚ͩͰͳ͘αʔϏε։ൃ΋ܞΘΔ

  19. ࠷ޙʹ • 4&5 IUUQTMJOFGVLVPLBDPKQKBDBSFFSMJTUFOHJOFFS • -*/&$SFBUPST.BSLFUαʔόʔαΠυΤϯδχΞ IUUQTMJOFGVLVPLBDPKQKBDBSFFSMJTUFOHJOFFS IUUQTMJOFGVLVPLBDPKQKBDBSFFSMJTUFOHJOFFS • ϑϩϯτΤϯυΤϯδχΞ

    IUUQTMJOFGVLVPLBDPKQKBDBSFFSMJTUFOHJOFFS Ұॹʹಇ͍ͯ͘ΕΔ஥ؒΛืू͍ͯ͠·͢ʂ IUUQTMJOFGVLVPLBDPKQKBDBSFFSFOHJOFFS