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
個人的CIとテスト環境
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
yamacraft
June 09, 2016
Technology
1
830
個人的CIとテスト環境
2016年6月9日に行われたAndroid Testing Bootcamp #2で発表した資料です
yamacraft
June 09, 2016
Tweet
Share
More Decks by yamacraft
See All by yamacraft
なぜアプリのデザインとその実装はうまくいかないのか?
yamacraft
0
210
あんまり触れられてない気がする、Kotlin1.3の ありがたい追加機能
yamacraft
0
3.1k
ありがたいUIをもっと大事にしたい
yamacraft
2
2.4k
Quickstart-android/mlkitについて
yamacraft
2
4.9k
Firebase関連をCIでデプロイするときのTips
yamacraft
0
5k
開発用途で Realtime Databaseを 導入した話
yamacraft
2
4.6k
ciecleci/androidのOpenSSLに気をつけよう
yamacraft
0
720
Realtime Databaseに向いてる・向いてないサービス
yamacraft
0
960
社内用アプリでFirebaseを使っている話
yamacraft
2
2k
Other Decks in Technology
See All in Technology
We Built for Predictability; The Workloads Didn’t Care
stahnma
0
150
顧客との商談議事録をみんなで読んで顧客解像度を上げよう
shibayu36
0
300
ECS障害を例に学ぶ、インシデント対応に備えたAIエージェントの育て方 / How to develop AI agents for incident response with ECS outage
iselegant
3
290
AIエージェントを開発しよう!-AgentCore活用の勘所-
yukiogawa
0
190
ブロックテーマでサイトをリニューアルした話 / 2026-01-31 Kansai WordPress Meetup
torounit
0
480
Oracle Cloud Observability and Management Platform - OCI 運用監視サービス概要 -
oracle4engineer
PRO
2
14k
マネージャー視点で考えるプロダクトエンジニアの評価 / Evaluating Product Engineers from a Manager's Perspective
hiro_torii
0
180
コンテナセキュリティの最新事情 ~ 2026年版 ~
kyohmizu
6
1.4k
こんなところでも(地味に)活躍するImage Modeさんを知ってるかい?- Image Mode for OpenShift -
tsukaman
1
170
SREじゃなかった僕らがenablingを通じて「SRE実践者」になるまでのリアル / SRE Kaigi 2026
aeonpeople
6
2.5k
SRE Enabling戦記 - 急成長する組織にSREを浸透させる戦いの歴史
markie1009
0
170
生成AIと余白 〜開発スピードが向上した今、何に向き合う?〜
kakehashi
PRO
0
140
Featured
See All Featured
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
170
Into the Great Unknown - MozCon
thekraken
40
2.3k
Designing for Performance
lara
610
70k
Game over? The fight for quality and originality in the time of robots
wayneb77
1
120
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
58
50k
Documentation Writing (for coders)
carmenintech
77
5.3k
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
65
SEO for Brand Visibility & Recognition
aleyda
0
4.2k
AI Search: Where Are We & What Can We Do About It?
aleyda
0
7k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
7.9k
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
67
Abbi's Birthday
coloredviolet
1
4.8k
Transcript
ݸਓతCIͱςετڥ @yamacraft
profile • @yamacraft (Wataru Yamada) • LeadingMark, inc / team
Y.G.E. • Mobile Application Engineer
RecmeʢϨΫϛʔʣ https://www.recme.jp/
None
ݸਓ։ൃΞϓϦͰͷ Λ͠·͢ɻ ʢʴલ৬ܦݧؚΉʣ
શ෦ॻ͘ͱऴΘΒͳ͍ͷͰ CIͱςετ෦͚ͩͷհͰ ͢ʢ͔֓͠ཁʣ ݸਓత"OESPJEΞϓϦ։ൃڥΛࡽ͢2JJUB IUUQRJJUBDPNZBNBDSBGUJUFNTEGGDEBG
CIͱςετڥͷબఆํ๏ • ࠷৽ٕज़ʢSDKͱ͔ϥΠϒϥϦͱ͔ʣΛͬ͞ͱಋೖͯ͠։ ൃ͍ͨ͠ • ʮςετʢCIʣͷϝϯς͕େมͳͷͰɺSDKಋೖͨ͘͠ͳ ͍…ʯͱ͍͏ঢ়ଶආ͚Δ • ↑ͷͨΊͳΒɺ͋ΔఔखಈʹͳΔͷΉΛಘͳ͍ਫ਼ਆ Ͱ
• ʮҰํϩγΞԖචΛͬͨʯͷਫ਼ਆ
CIڥ
Jenkinsʢin macʣ
ͳͥJenkins͔ • iOSͷCIΓ͔ͨͬͨ • CircleCI͓͕͔͔ۚΔʢ$39/moʣ • connectedAndroidTestಈ͔͍ͨ͠ • WebCIAVD͕શͯαϙʔτ͞ΕͯΔͱݶΒͳ͍ •
ʢݸਓʣmacͳΒଈ࠷৽ͷSDK͕ೖΕΒΕΔ
ςετͷڥ
JUnit ʴ Espresso ʴ mockito
ͳͥʢলུʣ • Google͕ਪͯ͠Δ • https://developer.android.com/training/testing/start/index.html • RobolectricAPI19ͱ͔21·Ͱ͔͠ରԠ͍ͯ͠ͳ͍ • compileSdkVersion্͛ͨͱ͖ͷϝϯςίετ͕ੌ͍ •
ࣗͷӨڹͰAPI͕ߋ৽Ͱ͖ͳ͍ςετͷՁͬͯʁ • CI্ͰͷςετΤϛϡϨʔλΛར༻ • Android Emulator 2.0Ͱಈ࡞҆ఆੑվળ͞Εͨ • ґଘͷࣄલνΣοΫఘΊΔʗOSผͷಈ࡞ݕূ͚ͩΔ
͜͜·Ͱͷ·ͱΊ • CImacʴJenkinsͰߦ͍ͬͯΔ • ςετެ͕ࣜఏڙʴਪͯ͠ΔͷΛ͏ • ্هͰͰ͖ͳ͍ςετखಈʁͰΧόʔ • ϝϯςίετ͕͍ํΛબ͍ͯ͘͠ •
ਫ਼ਆͷ҆ఆେࣄ
ϦϦʔεલϨϙʔτ
ϦϦʔεલϨϙʔτ • ΞϧϑΝʢϕʔλʣʹapkΛΞοϓ͢Δͱɺ͍͔ͭ͘ͷ Ͱىಈͨ͠ΓεΫγϣࡱͬͯ͘ΕΔ • ͷϦετ͔ͳΓඍົ • ެ։લͷ࠷ऴ֬ೝͱͯ͑ͦ͠͏ͳҹ • ৄࡉQiitaʹॻ͖·ͨ͠
• http://qiita.com/yamacraft/items/2effc86401af3f70248b
ϦϦʔεલϨϙʔτʢ̍ʣ
ϦϦʔεલϨϙʔτʢ̎ʣ
ݱࡏͷCIڥ
͓͠·͍