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
Testing and CI in Android
Search
Soham Mondal
October 14, 2016
Technology
290
3
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Testing and CI in Android
Talk on Testing and Continuous Integration/Delivery at Devfest-Blrdroid 2016
Soham Mondal
October 14, 2016
More Decks by Soham Mondal
See All by Soham Mondal
Building Unstoppable Products v1.1
soham
0
150
Product Design as Your Competitive Edge
soham
0
160
Building Unstoppable Startups: Product Design as Your Competitive Edge
soham
0
190
Best Practices For Designing Apps For India - Devfest Bangalore 2022
soham
0
610
How (and Why) to be a data driven startup - THub Rubrix
soham
0
260
GFS - Startup School 2022
soham
0
720
Designing Experiences For Indian Users - T-Hub
soham
0
400
Designing_Products_For_Novice_Internet_Users_-_I.pdf
soham
0
180
Designing Products for Novice Internet Users - Opportunities & Problems
soham
1
290
Other Decks in Technology
See All in Technology
Bet AI Day 2026丨バクラク Autopilot、業務システムの再設計
layerx
PRO
2
1.5k
設計の世代交代を乗り越える、14年続くAndroidアプリの開発戦略
sansantech
PRO
1
150
Redmine 7.0で私が開発した新機能の狙いと背景
vividtone
1
110
コスト最適化の「めんどくさい」を AWS FinOps Agent でチョット楽にする
classmethod_kaz
0
240
enechainの内製セルフサービスプラットフォーム
hiyosi
0
120
Beyond the Hype: Practical AI for Your Oracle Database with MCP
thatjeffsmith
1
270
その指示、Bobにしっかり伝わってる?初心者でも即実践できる プロンプト/コンテキスト設計のコツ
muehara
1
170
推論の観測、できていますか? 〜 Google Cloud Gemini Enterprise Agent Platformで 3つの Gemini モデルを実測して踏んだ、評価の罠 〜
shukob
PRO
0
150
Amazon S3 Tablesに全部任せてみた結果——コンパクション/スナップショット管理は本当に手放せるか
shigeruoda
0
400
作り直せるコードは迅速に 作り直せないDBは慎重に - AI時代のプロダクトエンジニアが「判断の不可逆性」で開発速度を変える話
kinosuke01
0
250
Bet AI Day 2026丨Agentは、「金融」という巨大産業の何を変えられるのか
layerx
PRO
0
1k
Where Is JetBrains AI Heading- — Central CLI, Air Alpha, and the Agentic Development Stack
x5gtrn
PRO
0
130
Featured
See All Featured
Ruling the World: When Life Gets Gamed
codingconduct
0
320
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
6.1k
The Spectacular Lies of Maps
axbom
PRO
1
980
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
430
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.6k
Game over? The fight for quality and originality in the time of robots
wayneb77
1
260
The untapped power of vector embeddings
frankvandijk
2
1.9k
Agile that works and the tools we love
rasmusluckow
331
22k
Music & Morning Musume
bryan
47
7.4k
Mobile First: as difficult as doing things right
swwweet
225
10k
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
250
Writing Fast Ruby
sferik
630
63k
Transcript
Testing and CI in Android Soham Mondal https://speakerdeck.com/soham/testing-and-ci-in-android
You know it’s a good event if the first talk
of the day is on Testing
Soham Mondal - Founder, Triveous - Creator, Voice Recorder -
Google Expert: UX - Organizer at Blrdroid - Android/UX consultant
- What is Testing? - Testing principles - Types of
Tests - Unit testing/Instrumentation Testing - Architecture - Continuous Integration - Live Demos Agenda
What is testing? Testing is an investigation conducted to see
if a product satisfies its requirements or not
Testing Principles - Isolation - Integration - Scenarios
Unit Testing What are you testing?
Unit Testing - Objective of Unit Testing: What are you
testing? - Business logic - No external dependencies - Options: Roboelectric, JUnit - Unit testing on android studio - Mockito/PowerMock
Instrumentation Testing What are you testing?
Instrumentation Testing - Objective: What are you testing? - User
Behavior/Dependencies/Integration - Options: Robotium, Espresso - Why is espresso generally better? - Espresso test recorder in android studio
Types of Tests - Unit tests - Integration tests -
End to end tests http://googletesting.blogspot.in/2015/04/just-say-no-to-more-end-to-end-tests.html
Unit vs End-to-End Tests http://googletesting.blogspot.in/2015/04/just-say-no-to-more-end-to-end-tests.html - Fast - Reliable -
Isolates Failures - Real User
Architecture - MVP - MVVM - Unit testing the presenter
http://hannesdorfmann.com/mosby/mvp/
Continuous Integration
https://infinum.co/the-capsized-eight/articles/a-ruby-on-rails-continous-integration-process-using-semaphore-github-codeclimate-and-hipchat
Why - Integrate - Build your code properly: Environment, Breakage
- Everyone is on the same page - Run your tests - Code Coverage - Deploy: Continuous deployment - Build faster Solve problems quickly
Options - Travis CI - Circle CI - BuddyBuild -
Jenkins
Cloud
None
None
Self-hosted
None
Running instrumentation Tests
None
None
None
Continuous Deployment
None
Demo: Travis and Unit Tests Soham Mondal https://github.com/s0h4m/toggle
Demo: Jenkins+Spoon and Instrumentation Tests Shivaraj Patil
Q&A @s0h4m |
[email protected]
More espresso - Espresso-Intents and Intent Stubbing - Espresso-Contrib for
DatePicker, RecyclerView, Drawer actions, Accessibility checks, CountingIdlingResource - Idling resources - Code coverage
None
None