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
100
Product Design as Your Competitive Edge
soham
0
120
Building Unstoppable Startups: Product Design as Your Competitive Edge
soham
0
150
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
180
GFS - Startup School 2022
soham
0
660
Designing Experiences For Indian Users - T-Hub
soham
0
360
Designing_Products_For_Novice_Internet_Users_-_I.pdf
soham
0
150
Designing Products for Novice Internet Users - Opportunities & Problems
soham
1
250
Other Decks in Technology
See All in Technology
JAZUG 15周年記念 × JAT「AI Agent開発者必見:"今"のOracle技術で拡張するAzure × OCIの共存アーキテクチャ」
shisyu_gaku
1
160
やる気のない自分との向き合い方/How to Deal with Your Unmotivated Self
sanogemaru
0
510
CoRL 2025 Survey
harukiabe
1
200
ビズリーチ求職者検索におけるPLMとLLMの活用 / Search Engineering MEET UP_2-1
visional_engineering_and_design
1
130
エンタメとAIのための3Dパラレルワールド構築(GPU UNITE 2025 特別講演)
pfn
PRO
0
330
Introduction to Sansan, inc / Sansan Global Development Center, Inc.
sansan33
PRO
0
2.8k
能登半島地震において デジタルができたこと・できなかったこと
ditccsugii
0
220
Node.js 2025: What's new and what's next
ruyadorno
0
350
新規事業におけるGORM+SQLx併用アーキテクチャ
hacomono
PRO
0
300
研究開発部メンバーの働き⽅ / Sansan R&D Profile
sansan33
PRO
3
20k
Contract One Engineering Unit 紹介資料
sansan33
PRO
0
8.8k
プロポーザルのコツ ~ Kaigi on Rails 2025 初参加で3名の登壇を実現 ~
naro143
1
250
Featured
See All Featured
Designing for Performance
lara
610
69k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
1.7k
The Pragmatic Product Professional
lauravandoore
36
6.9k
Building Adaptive Systems
keathley
44
2.8k
Faster Mobile Websites
deanohume
310
31k
Building Applications with DynamoDB
mza
96
6.7k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
359
30k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.2k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
Optimising Largest Contentful Paint
csswizardry
37
3.5k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
37
2.6k
The Language of Interfaces
destraynor
162
25k
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]