Skip to content

Instantly share code, notes, and snippets.

@Pierry
Created February 7, 2015 02:54
Show Gist options
  • Save Pierry/eb8e5e3da34934147bcb to your computer and use it in GitHub Desktop.
Save Pierry/eb8e5e3da34934147bcb to your computer and use it in GitHub Desktop.
tdd, di, mocks
To do TDD in Android, I personally use all of the following:
FEST-android: FEST assertions for Android
Mockito: Mocking Framework
Robolectric: Unit testing framework that runs without the need of Android emulator
Robotium: UI tests (Needs emulator or device to run)
Also: Using dependency injection libraries such as Dagger or Roboguice will greatly simplify your unit/integration tests. To run tests on multiple devices, consider using Spoon.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment