Upgrade to PRO for Only $50/Year—Limited-Time Offer! 🔥
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Introduction to Android Testing
Search
Soham Mondal
June 09, 2016
Technology
1
170
Introduction to Android Testing
Soham Mondal
June 09, 2016
Tweet
Share
More Decks by Soham Mondal
See All by Soham Mondal
Building Unstoppable Products v1.1
soham
0
110
Product Design as Your Competitive Edge
soham
0
130
Building Unstoppable Startups: Product Design as Your Competitive Edge
soham
0
170
Best Practices For Designing Apps For India - Devfest Bangalore 2022
soham
0
560
How (and Why) to be a data driven startup - THub Rubrix
soham
0
200
GFS - Startup School 2022
soham
0
680
Designing Experiences For Indian Users - T-Hub
soham
0
380
Designing_Products_For_Novice_Internet_Users_-_I.pdf
soham
0
160
Designing Products for Novice Internet Users - Opportunities & Problems
soham
1
260
Other Decks in Technology
See All in Technology
評価駆動開発で不確実性を制御する - MLflow 3が支えるエージェント開発
databricksjapan
1
210
re:Invent2025 3つの Frontier Agents を紹介 / introducing-3-frontier-agents
tomoki10
0
240
非CUDAの悲哀 〜Claude Code と挑んだ image to 3D “Hunyuan3D”を EVO-X2(Ryzen AI Max+395)で動作させるチャレンジ〜
hawkymisc
2
200
今からでも間に合う!速習Devin入門とその活用方法
ismk
1
750
エンジニアとPMのドメイン知識の溝をなくす、 AIネイティブな開発プロセス
applism118
4
1.3k
[デモです] NotebookLM で作ったスライドの例
kongmingstrap
0
160
GitHub Copilotを使いこなす 実例に学ぶAIコーディング活用術
74th
3
3.4k
AI駆動開発の実践とその未来
eltociear
0
130
1人1サービス開発しているチームでのClaudeCodeの使い方
noayaoshiro
1
300
.NET 10の概要
tomokusaba
0
120
因果AIへの招待
sshimizu2006
0
990
モダンデータスタック (MDS) の話とデータ分析が起こすビジネス変革
sutotakeshi
0
510
Featured
See All Featured
Thoughts on Productivity
jonyablonski
73
5k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.8k
Into the Great Unknown - MozCon
thekraken
40
2.2k
Raft: Consensus for Rubyists
vanstee
141
7.2k
Documentation Writing (for coders)
carmenintech
76
5.2k
The Cost Of JavaScript in 2023
addyosmani
55
9.4k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.2k
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
Statistics for Hackers
jakevdp
799
230k
Building Applications with DynamoDB
mza
96
6.8k
Why You Should Never Use an ORM
jnunemaker
PRO
61
9.6k
Transcript
Introduction to Testing Soham Mondal
Soham Mondal - Founder, Triveous - Creator, Voice Recorder -
Google Expert: UX - Organizer at Blrdroid - Android/UX consultant
Agenda - Android architecture: MVP/MVVM/MVC? - What is Testing? Why
should you care? - Testing principles - Types of Tests - Unit testing - Functional/Integration/UI testing - Codelab
Architecture - Clean Architecture by UncleBob - MVC: Model View
Controller - MVP: Model View Presenter - MVVM: Model View ViewModel
MVP : Model View Presenter - Presenter - Injecting presenter
into Views - Can unit test the presenter http://hannesdorfmann.com/mosby/mvp/
What is testing? Testing helps create great, stable, maintainable and
scalable apps
Testing Principles - Clean architecture - Understand what you’re trying
to test - Isolation - Integration - All possible scenarios - TDD
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 Testing - Objective of Unit Testing: What are you
testing? - Options: Roboelectric, JUnit - Unit testing on android studio - JUnit - Mockito - PowerMock
Mockito - @mock - when/thenReturn - @spy - verify -
@ArgumentCaptor
UI/Functional/Integration testing - Objective: What are you testing? - Options:
Robotium, Espresso - Why is espresso generally better? - Espresso overview - Espresso test recorder in android studio - Support for firebase test lab
None
None
More espresso - Espresso-Intents and Intent Stubbing - Espresso-Contrib for
DatePicker, RecyclerView, Drawer actions, Accessibility checks, CountingIdlingResource - Idling resources - Code coverage
Codelab https://codelabs.developers.google.com/codelabs/android-testing/index.html
Q&A @s0h4m |
[email protected]