Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
TestersChoice_plug-in_tutorial
1. Testers Choice
Android Test Framework
Lee Jin-woo(lizingkr@gmail.com)
Kim Seung-hyun(492cj@naver.com)
Chun Yeon-sik(cjsdus87@naver.com)
Lee Seung-jong(superzzang22@naver.com)
Produced by
Prof. Jung In-sang
2. Contents
What is the test?
Why is the test?
Testing on Android
UML Diagram
ActivityInstrumentationTestCase2
ProviderTestCase2
Integration
outline
Tutorial
7. ActivityInstrumentationTestCase2
Provides functional testing of a single activity
Activity will be created using the system infrastructure
Activity can be manipulated directly
Test method can be run on the UI thread
Intent can be injected with setActivityIntent(intent)
sendKeys() can be used to simulated user interaction
8. ProviderTestCase2
Provides a framework for testing a single ContentProvider
Sets up the following mock objects
- An IsolatedContext
- A MockContentResolver
Managed by setUp() and tearDown()