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
Scaling Selenium to Infinity
Search
Tadashi Nemoto
November 14, 2018
Technology
0
2.2k
Scaling Selenium to Infinity
[人気につき増枠]AQA POP TALK #3 ~海外カンファレンスから見えたテスト自動化の未来~
https://mercaridev.connpass.com/event/104904/
Tadashi Nemoto
November 14, 2018
Tweet
Share
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
310
AWS Graviton 環境への CI _ CD パイプラインを CircleCI で実現しよう (AWS Fargate 編)
tadashi0713
0
380
10x deployment frequency using GitLab Flow and GitHub Actions on AWS ECS
tadashi0713
0
620
デプロイ頻度を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
Other Decks in Technology
See All in Technology
AlloyDB 奮闘記
hatappi
0
190
詳解 強化学習 / In-depth Guide to Reinforcement Learning
prinlab
0
350
スピンアウト講座01_GitHub管理
overflowinc
0
730
ガバメントクラウドにおけるAWSの長期継続割引について
takeda_h
2
5.4k
AWS CDK「読めるけど書けない」を脱却するファーストステップ
smt7174
3
210
スピンアウト講座02_ファイル管理
overflowinc
0
700
Phase07_実務適用
overflowinc
0
1k
A4)シラバスを超えて語る、テストマネジメント
moritamasami
0
110
AgentCoreとLINEを使った飲食店おすすめアプリを作ってみた
yakumo
2
170
バクラク最古参プロダクトで重ねた技術投資を振り返る
ypresto
0
210
SSoT(Single Source of Truth)で「壊して再生」する設計
kawauso
1
190
品質を経営にどう語るか #jassttokyo / Communicating the Strategic Value of Quality to Executive Leadership
kyonmm
PRO
2
1k
Featured
See All Featured
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
76
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
300
Odyssey Design
rkendrick25
PRO
2
550
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
1
490
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
96
The Pragmatic Product Professional
lauravandoore
37
7.2k
The browser strikes back
jonoalderson
0
820
Exploring anti-patterns in Rails
aemeredith
2
290
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
140
The Cult of Friendly URLs
andyhume
79
6.8k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
55
3.3k
The agentic SEO stack - context over prompts
schlessera
0
710
Transcript
Scaling Selenium to Infinity
自己紹介 • 根本 征(Nemoto Tadashi) • Automation & QA (AQA)
Group • テスト自動化 • Selenium, Appium, XCUITest • モバイルCI / CD改善 • 社内の生産性を上げるための自動化・サポート • https://seleck.cc/1230
None
None
UIテストをはじめると起こる課題 • 不安定なテスト(freaky test) • UIの変更に伴う改修 • 調査コスト • 実行時間の増加(Unit
<<< UI)
None
blackboard / lambda-selenium
None
サーバーレスの特徴 • 課金形態 • スケールしやすい • サーバーの管理をしなくていい • Low maintainance
AWS Lambda 料金 実行した「時間」と「回数」
コストは同じ
サーバーの管理をしなくていい 制限された環境
サーバーレスの制限 • 利用できる言語 / バージョン • タイムアウト • デプロイサイズ
サーバーレスの制限 • 利用できる言語 / バージョン • タイムアウト • デプロイサイズ
Amazon S3から毎回ダウンロード XVFB
None
サーバーレスの制限 • 利用できる言語 / バージョン • タイムアウト • デプロイサイズ
None
None
How to scale tests?
None
None
None
http://allure.qatools.ru/
http://allure.qatools.ru/
None
Running tests faster will unmask rude tests
UIテストをはじめると起こる課題 • 不安定なテスト(freaky test) • UIの変更に伴う改修 • 調査コスト • 実行時間の増加(Unit
<<< UI)
Scaling is possible but you MUST follow best practices!
UIテストをはじめると起こる課題 • 不安定なテスト(freaky test) • UIの変更に伴う改修 • 調査コスト • 実行時間の増加(Unit
<<< UI)
課題も多い • 他ブラウザへの対応 • プラットフォームの制限 • サーバーレスの理解 / キャッチアップ •
実例も少なく現状ハードルは高い • 並列実行 VS テスト環境への負荷
未来 • スケール・スピード • コスト • サーバーレスの実行コスト • 環境メンテナンスコスト
まとめ • UIテストで起こりがちな実行時間の増加をAWS Lambdaによる並列実行で解決 • プラットフォームによる特徴・制限を理解して、うまく 使いこなす必要がある • 課題もあるが、スケール・スピード・コストによるメリッ トは大きく、未来があるのでは