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

UI TestやVisual Regression Testを コスパ良くやる

UI TestやVisual Regression Testを コスパ良くやる

2021/04/2-
Android Test Online #1
https://testonline.connpass.com/event/207052/

HiroYUKI Seto

April 20, 2021
Tweet

More Decks by HiroYUKI Seto

Other Decks in Technology

Transcript

  1. 6*5FTU΍7JTVBM3FHSFTTJPO5FTUΛ
    ίεύྑ͘΍Δ
    גࣜձࣾϊϋφɹ੉ށ༏೭

    View full-size slide

  2. )JSP:6,*4FUP
    גࣜձࣾϊϋφ
    .PCJMF5FDI-FBE
    "OESPJE&OHJOFFS

    View full-size slide

  3. ͓͜ͱΘΓ
    w ӡ༻ͷ࿩͕ଟΊ
    w ۩ମతͳ࣮૷͸ࢀߟࢿྉΛࢀর
    w ౰ͨΓલͷ࿩͕΄ͱΜͲ
    w جૅ͸େࣄ

    View full-size slide

  4. ςετͷίετύϑΥʔϚϯε

    View full-size slide

  5. ςετͷίετύϑΥʔϚϯε
    w ΑΓଟ͘ͷճ਺࢖ΘΕΔ͜ͱ
    w ਓؒͷ࡞ۀ͕ݮΔ͜ͱ
    w Ͱ͖ͳ͔ͬͨ͜ͱ͕Ͱ͖ΔΑ͏ʹͳΔ͜ͱ

    View full-size slide

  6. Ͱ͖ͳ͔ͬͨ͜ͱ͕Ͱ͖ΔΑ͏ʹͳΔ
    w 7JTVBM3FHSFTTJPO5FTUͰͷQY୯Ґͷݫີͳ൑ఆ
    w ໷ؒ ۀ຿࣌ؒ֎
    ͷςετ࣮ߦ
    w 6*5FTU͕ॆ࣮͢Ε͹໷ؒʹ؆қ2"Λ΍͍ͬͯΔΑ͏ͳ΋ͷ

    View full-size slide

  7. 6*5FTUͷίεύ

    View full-size slide

  8. 6*5FTUͷίεύ
    w 6*5FTUͷίεύ㲈ଟ͘ͷճ਺࢖͑Δ͔Ͳ͏͔㲈յΕʹ͘͞

    View full-size slide

  9. ίεύͷѱ͍6*5FTU
    w 6*ߏ଄͕େ͖͘มΘΔ༧ఆ͕͋Δը໘
    w ͨͩ͠ผը໘ʹػೳΛҠ২͢Δ৔߹ͳͲ͸࢖͍ճͤΔ
    w ΞϓϦ֎Ͱมߋ͞ΕΔՄೳੑ͕͋Δը໘
    w 8FC7JFX
    w αʔόʔͷΤϥʔϨεϙϯεΛͦͷ··දࣔ

    View full-size slide

  10. ίεύͷ͍͍6*5FTU
    w 6*ߏ଄͕େ͖͘มΘΒͳ͍ը໘
    w ΞʔΩςΫνϟมߋɺσβΠϯඍमਖ਼ͳͲ
    w ୯७࡞ۀͷૢ࡞͕ଟ͍ը໘
    w ҟৗܥͷςετ

    View full-size slide

  11. 7JTVBM3FHSFTTJPO5FTUͷίεύ

    View full-size slide

  12. 735ͷίεύ
    w 6*5FTUΑΓ΋յΕʹ͍͘
    w εΫγϣΛऔΔ͚ͩ
    w ࠩ෼͕ग़͔ͨΒͱݴͬͯѱ͍༁Ͱ͸ͳ͍
    w 6*Λमਖ਼͢Ε͹ࠩ෼͕ग़Δ

    View full-size slide

  13. ࠩ෼͕ͳ͍͜ͱͷ֬ೝ
    w ௨ৗͷϦϑΝΫλϦϯά
    w 6*มߋ͕ͳ͍ΞʔΩςΫνϟมߋ
    w 7JFXϥΠϒϥϦͷΞοϓσʔτ
    w ϨΠΞ΢τͷϦϑΝΫλϦϯά $POTUSBOU-BZPVUԽ

    View full-size slide

  14. ࠩ෼͕͋Δ͜ͱͷ֬ೝ
    w ৽ػೳ࣮૷
    w σβΠϯมߋ
    w σβΠϯϨϏϡʔʹ΋࢖͑Δ

    View full-size slide

  15. ࠩ෼͕͋Δͳ͍͜ͱͷ֬ೝ
    w มߋ͕ى͜Δ͔΋͠Εͳ͍मਖ਼
    w .%$Ξοϓσʔτ
    w .%$5IFNFԽ
    w 5BSHFU4EL7FSTJPOߋ৽

    View full-size slide

  16. ίεύͷ͍͍ಋೖ

    View full-size slide

  17. ը໘ͷબఆ
    w ಋೖ͔࣌ΒؤுΒͳ͍
    w ௨৴͕ͳ͍ɺݻఆϨΠΞ΢τͷը໘͔Βಋೖ͢Δ
    w 3FDZDMFS7JFX΋஫ҙ
    w ϨΠΞ΢τ͕஗͍৔߹ʹ
    fl
    BLZͳςετʹͳΔ͔΋

    View full-size slide

  18. 6*5FTUಋೖୈҰา
    w ϘλϯΛԡͨ͠ΒμΠΞϩά͕ग़Δ
    w Ϧετͷ߲໨Λλοϓͨ͠Βผͷը໘ʹભҠ͢Δ
    w ෆਖ਼ͳϝʔϧΞυϨεܗࣜΛೖྗ͢ΔͱϘλϯ͕EJTBCMFʹͳΔ

    View full-size slide

  19. ίεύͷ͍͍ಋೖ
    w ಋೖ͕؆୯ͳը໘͔Βಋೖ͢Δ
    w ˠUFTUͷ6UJMJUZΫϥεͳͲΛ֦ॆͤ͞Δ
    w ˠUFTUBCJMJUZΛ޲্ͤ͞ΔΑ͏ͳઃܭʹ͍ͯ͘͠
    w ˠෳࡶͳը໘΋ରԠ͢Δ

    View full-size slide

  20. ಋೖ
    w 6*5FTU͕$*Ͱಈ͍͍ͯΔ
    w ˠ7JTVBM3FHSFTTJPO5FTU΋ಋೖ͠΍͍͢
    w 6*5FTU΋7JTVBM3FHSFTTJPO5FTU΋ͳ͍
    w ˠͲͪΒ͔Βಋೖͯ͠΋͍͍
    w ؀ڥߏங͸6*5FTUָ͕ɺςετίʔυ͸735ָ͕
    w ԿΛςετ͍͔ͨ͠ͰܾΊΔ

    View full-size slide

  21. ಋೖͷ൑அ
    w 6*5FTU
    w 6*ߏ଄͕େ͖͘มΘΔ༧ఆ͸ͳ͍͔
    w ςετࣗಈԽͯ͠ϝϦοτ͕ग़Δ͔
    w 7JTVBM3FHSFTTJPO5FTU
    w ࠩ෼͕͋Δͳ͠Λ֬ೝ͢ΔΑ͏ͳमਖ਼͕͋Δ͔

    View full-size slide

  22. ӡ༻
    w ௨ৗͷ13Ͱ͸6OJU5FTU͚ͩճ͢
    w ࣮ߦ࣌ؒ୹ॖͷͨΊ
    w 6*5FTU΍735͸τϦΨʔͰճͤΔΑ͏ʹ͢Δ
    w ϒϥϯν໊ͳͲ
    w ໷ؒఆظ࣮ߦͳͲͰ6*5FTU΍735Λճ͢

    View full-size slide

  23. ஫ҙ఺
    w ςετͷόϥϯεΛҙࣝ͢Δ
    w 6OJU5FTUͰͰ͖Δ͜ͱ͸6OJU5FTUͰ
    w 6*5FTUΛ΍Γ͗͢ͳ͍
    IUUQTEFWFMPQFSBOESPJEDPNUSBJOJOHUFTUJOHGVOEBNFOUBMT

    View full-size slide

  24. ࢀߟࢿྉ
    w "OESPJEͷΞϓϦ։ൃͰ΋7JTVBM3FHSFTTJPO5FTUJOHΛ࢝Ί·͠ΐ͏
    w IUUQTDBUTXFCBQQWJTVBMSFHSFTTJPOUFTUJOHXJUIBOESPJE
    w "OESPJEεΫϦʔϯγϣοτςετͭͷϓϩμΫτʹಋೖ͢ΔதͰ౗͖ͯͨ͠՝୊
    w IUUQTTQFBLFSEFDLDPNULNO[NBOESPJETDSFFOTIPUUFTUQSPCMFNTTPMWFE
    CZJOUSPEVDJOHJOUPQSPEVDUT
    w %SPJE,BJHJ"OESPJEͰ΋ϏδϡΞϧϦάϨογϣϯςετΛ͸͡ΊΑ͏
    w IUUQTTQFBLFSEFDLDPNLFJESPJEESPJELBJHJ
    BOESPJEEFNPCJ[JZVBSVSJHVSFUVTJZPOUFTVUPXPIB[JNFZPV

    View full-size slide