[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples/Code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Additional Resources for Testing
This page contains resources for learning more about writing Android tests.
Samples
Android
testing samples
Sunflower
demo, which makes use of the Android testing libraries.
IntentsBasicSample: Basic usage of intended()
and
intending()
.
IdlingResourceSample: Synchronization with background jobs.
Basic
Espresso sample
CustomMatcherSample:
Shows how to extend Espresso to match the hint property of an
EditText
object.
DataAdapterSample:
Showcases the onData()
entry point for Espresso, for lists and
AdapterView
objects.
IntentsAdvancedSample:
Simulates a user fetching a bitmap using the camera.
MultiWindowSample:
Shows how to point Espresso to different windows.
RecyclerViewSample:
RecyclerView
actions for Espresso.
WebBasicSample:
Use Espresso-Web to interact with WebView
objects.
BasicSampleBundled:
Basic sample for Eclipse and other IDEs.
Basic
ActivityScenarioRule sample: Simple usage of
ActivityScenarioRule
.
AndroidJunitRunnerSample:
Showcases test annotations, parameterized tests, and test suite creation.
Basic UIAutomator sample
Codelabs
Android
Testing Codelab
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples/Code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Content and code samples on this page are subject to the licenses described in the Content License. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2020-12-04 UTC.