Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
モバイルE2Eテストを継続・改善させるために取り組むKarakuri
Search
Tadashi Nemoto
August 28, 2018
1.3k
1
Share
モバイルE2Eテストを継続・改善させるために取り組むKarakuri
Test Engineers Meetup #3
https://test-engineers-meetup.connpass.com/event/96727/
Tadashi Nemoto
August 28, 2018
More Decks by Tadashi Nemoto
See All by Tadashi Nemoto
Best Practice CI/CD Pipeline for Deploying Container Apps to AWS
tadashi0713
0
250
Scalable and cloud-native mobile game CI/CD environment using Unity
tadashi0713
0
160
Migrating your mobile CI/CD environment to a scalable cloud solution using CircleCI
tadashi0713
0
260
Speed matters: Advanced CI/CD techniques to improve development velocity, quality & security
tadashi0713
0
320
AWS Graviton 環境への CI _ CD パイプラインを CircleCI で実現しよう (AWS Fargate 編)
tadashi0713
0
390
10x deployment frequency using GitLab Flow and GitHub Actions on AWS ECS
tadashi0713
0
630
デプロイ頻度を10倍にした、ブランチ戦略とGitHub Actions on AWS ECS
tadashi0713
8
4.5k
Creating parallelized Android UITest (Appium) environment using Azure, Docker and Android emulator
tadashi0713
0
4.2k
メルカリの開発スピードと品質を支える Selenium on Azure Kubernetes Service
tadashi0713
2
1.5k
Featured
See All Featured
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
110
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
320
Joys of Absence: A Defence of Solitary Play
codingconduct
1
330
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.1k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
55k
Making the Leap to Tech Lead
cromwellryan
135
9.8k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
122
21k
The Mindset for Success: Future Career Progression
greggifford
PRO
0
300
Building Flexible Design Systems
yeseniaperezcruz
330
40k
The untapped power of vector embeddings
frankvandijk
2
1.7k
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
350
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8k
Transcript
モバイルE2Eテストを継続・改善させるために 取り組むKarakuri Nemoto Tadashi Test Engineers Meetup #3
自己紹介 • 根本 征(Nemoto Tadashi) • Automation & QA (AQA)
Group • テスト自動化 • Selenium, Appium, XCUITest, Espresso • モバイルCI / CD改善 • 社内の生産性を上げるための自動化・サポート • https://seleck.cc/1230 • 自称 Zapierエバンジェリスト
Automation & QA Group
モバイルテスティング
None
AndroidのCI時間を10分短縮し、 開発を爆速にするためのKarakuriを作った話 https://tech.mercari.com/entry/2018/07/04/110000 Android CI CircleCI 2.0
Android CI Danger Codecov AndroidのCI時間を10分短縮し、 開発を爆速にするためのKarakuriを作った話 https://tech.mercari.com/entry/2018/07/04/110000
エンジニアと一緒にテスト書いたり
None
E2Eテスト(特にモバイル)は メンテナンスコストが高い 不安定
QAと一緒にE2Eテスト自動化を推進し 1年以上メンテナンス・改善をしている
なぜQAとなのか • QAとエンジニアで確認・テストしたいことは違う • テストの不安定さ < 自分たちの作業の一部自動化 • スキルアップへのモチベーション
3つのポイント・改善 • 実行環境を用意・安定化 • テストレポートを充実させる • 調査・メンテナンスできる人を増やす
実行環境を用意・安定化
Android apkビルド Google Cloud Storage
Android
Android クラウド実行環境 Others デバイス
iOS iOS Simulator メルカリiOSのUIテスト自動化をま るっとご紹介します! https://tech.mercari.com/entr y/2018/08/07/123000
テストレポートを充実させる
マスター タイトルの書式設定 • マスター テキストの書式設定 Android(github.com/vbanthia/rspec_html_reporter)
マスター タイトルの書式設定 • マスター テキストの書式設定 Android(github.com/vbanthia/rspec_html_reporter)
マスター タイトルの書式設定 • マスター テキストの書式設定 Android(github.com/vbanthia/rspec_html_reporter)
iOS(XCTestHTMLReport) メルカリiOSのUIテスト自動化をま るっとご紹介します! https://tech.mercari.com/entr y/2018/08/07/123000
調査・メンテナンスできる人を増やす
QAとの協業 自動化エンジニア QA • 実行結果の確認・フィードバック • テストシナリオ作成・更新 • 一部スクリプト修正 •
テストスクリプトの実装・修正 • 実行環境の構築・整備 • ライブラリの作成
None
次のステップ 自動化エンジニア QA • 実行結果の確認・フィードバック • テストシナリオ作成・更新 • テストスクリプトの実装・修正 •
テストスクリプトの実装・修正 • 実行環境の構築・整備 • ライブラリの作成
Appium + RSpec + Turnip (Android) 自動化エンジニア QA • 実装しているシナリオの理解
• 新規シナリオの作成 • 既存シナリオの修正 • Stepの作成 • サンプルのシナリオを提供 • シナリオを書くためのサポート
github.com/tadashi0713/table_beet2
QAがシナリオを書くためのサポート
3つのポイント・改善 • 実行環境を用意・安定化 • テストレポートを充実させる • 調査・メンテナンスできる人を増やす + Automation, Karakuriしていく文化
エンジニアの行動指針 Automation, Karakuri
Automation (自動化) 本来すべきこと(コード・設計) に集中するため 機械になるべくやらせて、効率化させる 2度以上行なった作業は自動化の対象
Karakuri (仕組み化) 問題が起きた時、気合いではなく、 人的エラーが起きない仕組みで解決する
Automation, Karakuriしていく文化
一発でパーフェクトなE2Eテストは作れない 自発的・継続的に Automation, Karakuriしていく文化