Code snippets for Android test cases.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


Android-Test-Snippets are a set of code snippets (or koans) for Android test cases. Each snippet shows a concrete example of use of an element from the android testing API (mainly in android.test package).

Snippet code or ideas to create new and useful snippets are welcomed. E-mail us jere:

Actually, the snippets are:

asserts - Examples of the asserts included in android.testMoreAsserts class.

SQLite - This example shows the use of AndroidTest case to write a test case for a SQLite code.

TestLabelIsVisible - Example of a test case that checks is a component from the view of an Activity class is visible when running that activity

userpermission - Tests that the application has specific user permissions