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
yamacraft
June 09, 2016
Technology
1
820
個人的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
3k
ありがたいUIをもっと大事にしたい
yamacraft
2
2.3k
Quickstart-android/mlkitについて
yamacraft
2
4.7k
Firebase関連をCIでデプロイするときのTips
yamacraft
0
5k
開発用途で Realtime Databaseを 導入した話
yamacraft
2
4.6k
ciecleci/androidのOpenSSLに気をつけよう
yamacraft
0
710
Realtime Databaseに向いてる・向いてないサービス
yamacraft
0
930
社内用アプリでFirebaseを使っている話
yamacraft
2
2k
Other Decks in Technology
See All in Technology
Dify on AWS 環境構築手順
yosse95ai
0
130
Behind Postgres 18: The People, the Code, & the Invisible Work | Claire Giordano | PGConfEU 2025
clairegiordano
0
140
Oracle Database@Google Cloud:サービス概要のご紹介
oracle4engineer
PRO
0
360
SQLAlchemy の select(User).where(User.id =="123") を理解してみる/sqlalchemy deep dive
3l4l5
3
440
ハノーファーメッセ2025で見た生成AI活用ユースケース.pdf
hamadakoji
1
470
DSPy入門
tomehirata
0
100
Azureコストと向き合った、4年半のリアル / Four and a half years of dealing with Azure costs
aeonpeople
1
300
個人でデジタル庁の デザインシステムをVue.jsで 作っている話
nishiharatsubasa
3
5.1k
Kubernetes self-healing of your workload
hwchiu
0
550
SRE × マネジメントレイヤーが挑戦した組織・会社のオブザーバビリティ改革 ― ビジネス価値と信頼性を両立するリアルな挑戦
coconala_engineer
0
260
dbtとAIエージェントを組み合わせて見えたデータ調査の新しい形
10xinc
1
430
serverless team topology
_kensh
3
230
Featured
See All Featured
Large-scale JavaScript Application Architecture
addyosmani
514
110k
We Have a Design System, Now What?
morganepeng
53
7.8k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.2k
The Power of CSS Pseudo Elements
geoffreycrofte
80
6k
Build your cross-platform service in a week with App Engine
jlugia
233
18k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
53k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
116
20k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.5k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
Documentation Writing (for coders)
carmenintech
75
5.1k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
31
2.7k
Into the Great Unknown - MozCon
thekraken
40
2.1k
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ڥ
͓͠·͍