Robolectric

An alternative Android testing framework.

License

License

MIT license
GroupId

GroupId

com.github.japgolly.android.test
ArtifactId

ArtifactId

robolectric
Last Version

Last Version

1.2-8.1
Release Date

Release Date

Type

Type

jar
Description

Description

Robolectric
An alternative Android testing framework.
Project URL

Project URL

https://github.com/japgolly/robolectric
Source Code Management

Source Code Management

https://github.com/japgolly/robolectric

Download robolectric

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.japgolly.android.test/robolectric/ -->
<dependency>
    <groupId>com.github.japgolly.android.test</groupId>
    <artifactId>robolectric</artifactId>
    <version>1.2-8.1</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.japgolly.android.test/robolectric/
implementation 'com.github.japgolly.android.test:robolectric:1.2-8.1'
// https://jarcasting.com/artifacts/com.github.japgolly.android.test/robolectric/
implementation ("com.github.japgolly.android.test:robolectric:1.2-8.1")
'com.github.japgolly.android.test:robolectric:jar:1.2-8.1'
<dependency org="com.github.japgolly.android.test" name="robolectric" rev="1.2-8.1">
  <artifact name="robolectric" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.japgolly.android.test', module='robolectric', version='1.2-8.1')
)
libraryDependencies += "com.github.japgolly.android.test" % "robolectric" % "1.2-8.1"
[com.github.japgolly.android.test/robolectric "1.2-8.1"]

Dependencies

compile (7)

Group / Artifact Type Version
org.objenesis : objenesis jar 1.0
org.xerial : sqlite-jdbc jar 3.7.2
org.javassist : javassist jar 3.14.0-GA
commons-logging : commons-logging jar 1.1.1
commons-codec : commons-codec jar 1.3
org.apache.httpcomponents : httpclient jar 4.0.3
android.support » compatibility-v4 jar 11

provided (3)

Group / Artifact Type Version
org.hamcrest : hamcrest-core jar 1.2
junit : junit-dep jar 4.8.2
android » android jar 4.2_r1

test (2)

Group / Artifact Type Version
com.h2database : h2 jar 1.2.147
org.mockito : mockito-core jar 1.8.5

Project Modules

There are no modules declared in this project.

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 of maps.jar is missing then install all the android extra and run:

git clone https://github.com/mosabua/maven-android-sdk-deployer.git
cd maven-android-sdk-deployer/
maven install -P <ANDROID_VERSION>

Versions

Version
1.2-8.1
1.2-8