Skip to content
Android Unit Testing Framework
Java Other
Pull request Compare This branch is 2 commits ahead, 2132 commits behind robolectric:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib
scripts
src
.gitignore
.pairs
.travis.yml
LICENSE.txt
README.md
build.gradle
build.properties
build.xml
find-android.bat
find-android.sh
pom.xml
release-checklist.md

README.md

Robolectric

An Android Testing Framework

Robolectric can be built using either Maven or Ant. Both Eclipse (with the M2Eclipse plug-in) and IntelliJ can import the pom.xml file and will automatically generate their project files from it.

For more information about how to use Robolectric on your project, extend its functionality, and join the community of contributors, please see: http://pivotal.github.com/robolectric/index.html

Build Status

http://ci.robolectric.org

Known compile issues

If your build fails because the Google Maps dependency is missing then download the Google APIs for Android 4.1 using the Android SDK Manager and run:

mvn install:install-file -DgroupId=com.google.android.maps \
  -DartifactId=maps \
  -Dversion=16_r3 \
  -Dpackaging=jar \
  -Dfile="$ANDROID_HOME/add-ons/addon-google_apis-google-16/libs/maps.jar"
Something went wrong with that request. Please try again.