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.1k
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
210
Scalable and cloud-native mobile game CI/CD environment using Unity
tadashi0713
0
130
Migrating your mobile CI/CD environment to a scalable cloud solution using CircleCI
tadashi0713
0
230
Speed matters: Advanced CI/CD techniques to improve development velocity, quality & security
tadashi0713
0
300
AWS Graviton 環境への CI _ CD パイプラインを CircleCI で実現しよう (AWS Fargate 編)
tadashi0713
0
350
10x deployment frequency using GitLab Flow and GitHub Actions on AWS ECS
tadashi0713
0
580
デプロイ頻度を10倍にした、ブランチ戦略とGitHub Actions on AWS ECS
tadashi0713
8
4.3k
Creating parallelized Android UITest (Appium) environment using Azure, Docker and Android emulator
tadashi0713
0
4.1k
メルカリの開発スピードと品質を支える Selenium on Azure Kubernetes Service
tadashi0713
2
1.4k
Other Decks in Technology
See All in Technology
【初心者向け】ローカルLLMの色々な動かし方まとめ
aratako
7
3.2k
Kiroと学ぶコンテキストエンジニアリング
oikon48
6
9.2k
クラウドセキュリティを支える技術と運用の最前線 / Cutting-edge Technologies and Operations Supporting Cloud Security
yuj1osm
2
290
AI時代に非連続な成長を実現するエンジニアリング戦略
sansantech
PRO
3
1.1k
なぜスクラムはこうなったのか?歴史が教えてくれたこと/Shall we explore the roots of Scrum
sanogemaru
5
1.2k
ヘブンバーンズレッドにおける、世界観を活かしたミニゲーム企画の作り方
gree_tech
PRO
0
570
Autonomous Database - Dedicated 技術詳細 / adb-d_technical_detail_jp
oracle4engineer
PRO
4
9.9k
異業種出身エンジニアが気づいた、転向して十数年経っても変わらない自分の武器とは
macnekoayu
0
300
フィンテック養成勉強会#56
finengine
0
130
ZOZOマッチのアーキテクチャと技術構成
zozotech
PRO
3
1.3k
今!ソフトウェアエンジニアがハードウェアに手を出すには
mackee
9
4.4k
MCPで変わる Amebaデザインシステム「Spindle」の開発
spindle
PRO
3
2.9k
Featured
See All Featured
4 Signs Your Business is Dying
shpigford
184
22k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
The Pragmatic Product Professional
lauravandoore
36
6.9k
Making the Leap to Tech Lead
cromwellryan
135
9.5k
Optimizing for Happiness
mojombo
379
70k
Git: the NoSQL Database
bkeepers
PRO
431
66k
Rails Girls Zürich Keynote
gr2m
95
14k
Unsuck your backbone
ammeep
671
58k
Product Roadmaps are Hard
iamctodd
PRO
54
11k
We Have a Design System, Now What?
morganepeng
53
7.8k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
46
7.6k
Building a Modern Day E-commerce SEO Strategy
aleyda
43
7.5k
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による並列実行で解決 • プラットフォームによる特徴・制限を理解して、うまく 使いこなす必要がある • 課題もあるが、スケール・スピード・コストによるメリッ トは大きく、未来があるのでは