tree: c64853a6082702f18bb731c324937b8b8a587a44
  1. src/
  2. BUILD
  3. maven_install.json
  4. README.md
  5. WORKSPACE
examples/android_local_test/README.md

Robolectric test example using android_local_test

To run the Robolectric test in this workspace:

$ bazel test //src/test:main_activity_test

Roboelectric tests in Bazel requires special setup to generate a file called robolectric-deps.properties, containing information about android-all jars and their locations. You can find this setup in the bazel/robolectric directory.