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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Soham Mondal
October 14, 2016
Technology
290
3
Share
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
140
Product Design as Your Competitive Edge
soham
0
140
Building Unstoppable Startups: Product Design as Your Competitive Edge
soham
0
180
Best Practices For Designing Apps For India - Devfest Bangalore 2022
soham
0
590
How (and Why) to be a data driven startup - THub Rubrix
soham
0
230
GFS - Startup School 2022
soham
0
690
Designing Experiences For Indian Users - T-Hub
soham
0
390
Designing_Products_For_Novice_Internet_Users_-_I.pdf
soham
0
170
Designing Products for Novice Internet Users - Opportunities & Problems
soham
1
280
Other Decks in Technology
See All in Technology
エンタープライズの厳格な制約を開発者に意識させない:クラウドネイティブ開発基盤設計/cloudnative-kaigi-golden-path
mhrtech
0
370
OWASP APTSを眺めてみた
su3158
0
130
SLI/SLO、「完全に理解した」から「チョットデキル」へ
maruloop
1
150
AI 時代の Platform Engineering
recruitengineers
PRO
1
130
Claude Code / Codex / Kiro に AWS 権限を 渡すとき、何を設計すべきか
k_adachi_01
3
350
「強制アップデート」か「チームの自律」か?エンタープライズが辿り着いたプラットフォームのハイブリッド運用/cloudnative-kaigi-hybrid-platform-operations
mhrtech
0
150
アプリブロック機能のつくりかたと、AIとHTMLの不合理な相性の良さについて
kumamotone
1
220
2026-05-14 要件定義からソース管理まで!IBM Bob基礎ハンズオン
yutanonaka
0
120
20260516_SecJAWS_Days
takuyay0ne
0
110
AI時代の品質はテストプロセスの作り直し #scrumniigata
kyonmm
PRO
4
1.4k
Vision Banana: Image Generators are Generalist Vision Learners
kzykmyzw
0
330
自動テストだけで リリース判断できるチームへ - 鍵はテストの量ではなくリリース判断基準の再設計にあった / Redesigning Release Criteria for Lightweight Releases
ewa
7
3.6k
Featured
See All Featured
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
380
It's Worth the Effort
3n
188
29k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
350
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
170
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.5k
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
140
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
The SEO Collaboration Effect
kristinabergwall1
1
440
Product Roadmaps are Hard
iamctodd
PRO
55
12k
YesSQL, Process and Tooling at Scale
rocio
174
15k
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
400
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