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
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
93
Product Design as Your Competitive Edge
soham
0
120
Building Unstoppable Startups: Product Design as Your Competitive Edge
soham
0
140
Best Practices For Designing Apps For India - Devfest Bangalore 2022
soham
0
540
How (and Why) to be a data driven startup - THub Rubrix
soham
0
170
GFS - Startup School 2022
soham
0
640
Designing Experiences For Indian Users - T-Hub
soham
0
350
Designing_Products_For_Novice_Internet_Users_-_I.pdf
soham
0
140
Designing Products for Novice Internet Users - Opportunities & Problems
soham
1
230
Other Decks in Technology
See All in Technology
VISITS_AIIoTビジネス共創ラボ登壇資料.pdf
iotcomjpadmin
0
150
Amazon S3標準/ S3 Tables/S3 Express One Zoneを使ったログ分析
shigeruoda
2
390
25分で解説する「最小権限の原則」を実現するための AWS「ポリシー」大全
opelab
9
2.2k
AIエージェント最前線! Amazon Bedrock、Amazon Q、そしてMCPを使いこなそう
minorun365
PRO
11
4k
初めてのAzure FunctionsをClaude Codeで作ってみた / My first Azure Functions using Claude Code
hideakiaoyagi
1
180
AIのAIによるAIのための出力評価と改善
chocoyama
0
510
25分で解説する「最小権限の原則」を実現するための AWS「ポリシー」大全 / 20250625-aws-summit-aws-policy
opelab
7
740
Liquid Glass革新とSwiftUI/UIKit進化
fumiyasac0921
0
140
rubygem開発で鍛える設計力
joker1007
1
120
Oracle Cloud Infrastructure:2025年6月度サービス・アップデート
oracle4engineer
PRO
2
140
AWS アーキテクチャ作図入門/aws-architecture-diagram-101
ma2shita
29
9.5k
Snowflake Summit 2025全体振り返り / Snowflake Summit 2025 Overall Review
mtpooh
2
210
Featured
See All Featured
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
53k
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
How to train your dragon (web standard)
notwaldorf
92
6.1k
Testing 201, or: Great Expectations
jmmastey
42
7.5k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
48
2.8k
Side Projects
sachag
455
42k
Building an army of robots
kneath
306
45k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
3.9k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
8
790
Code Reviewing Like a Champion
maltzj
524
40k
Large-scale JavaScript Application Architecture
addyosmani
512
110k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
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]