MVN

org.robolectric : junit

Maven & Gradle

May 17, 2023
2 usages
5.8k stars

junit · An alternative Android testing framework.

<dependency>
    <groupId>org.robolectric</groupId>
    <artifactId>junit</artifactId>
    <version>4.10.3</version>
</dependency>
Copy
pom.xml
Table Of Contents

Latest Version

Choose a version of org.robolectric : junit to add to Maven or Gradle - Latest Versions:

  • Latest Stable: 4.10.3
  • Latest Release Candidate: 4.2-rc1
  • Latest Beta: 4.5-beta-1
  • Latest Alpha: 4.10-alpha-1

All Versions

Choose a version of org.robolectric : junit to add to Maven or Gradle - All Versions:

Version Vulnerabilities Updated
4.10.x
junit-4.10.3
junit-4.10.2
junit-4.10.1
4.10
junit-4.10
junit-4.10-alpha-1
4.9.x
junit-4.9.2
junit-4.9.1
4.9
junit-4.9
junit-4.9-alpha-1
4.8.x
junit-4.8.2
junit-4.8.1
4.8
junit-4.8
junit-4.8-alpha-1
4.7.x
junit-4.7.3
junit-4.7.2
junit-4.7.1
4.7
junit-4.7
junit-4.7-alpha-2
junit-4.7-alpha-1
4.6.x
junit-4.6.1
4.6
junit-4.6
junit-4.6-alpha-2
junit-4.6-alpha-1
4.5.x
junit-4.5.1
4.5
junit-4.5
junit-4.5-beta-1
junit-4.5-alpha-3
junit-4.5-alpha-2
junit-4.5-alpha-1
4.4.x
junit-4.4.1
4.4
junit-4.4
junit-4.4-beta-1
junit-4.4-alpha-5
junit-4.4-alpha-4
junit-4.4-alpha-3
junit-4.4-alpha-2
junit-4.4-alpha-1
4.3.x
junit-4.3.1
4.3
junit-4.3
junit-4.3-beta-1
junit-4.3-alpha-3
junit-4.3-alpha-2
junit-4.3-alpha-1
4.2.x
junit-4.2.1
4.2
junit-4.2
junit-4.2-rc1
junit-4.2-beta-1
junit-4.2-alpha-2
junit-4.2-alpha-1
4.1
junit-4.1
junit-4.1-beta-2
junit-4.1-beta-1
junit-4.1-alpha-1
4.0.x
junit-4.0.2
junit-4.0.1
4.0
junit-4.0
junit-4.0-beta-3
junit-4.0-beta-2
junit-4.0-beta-1
junit-4.0-alpha-3
junit-4.0-alpha-2
junit-4.0-alpha-1
3.8
junit-3.8
3.7.x
junit-3.7.1
3.7
junit-3.7
3.6.x
junit-3.6.2
junit-3.6.1
3.6
junit-3.6
junit-3.6-alpha-1
3.5.x
junit-3.5.1
3.5
junit-3.5
junit-3.5-rc1
3.4.x
junit-3.4.2
junit-3.4.1
3.4
junit-3.4
junit-3.4-rc5
junit-3.4-rc4
junit-3.4-rc3

How to add a dependency to Maven

Add the following org.robolectric : junit maven dependency to the pom.xml file with your favorite IDE (IntelliJ / Eclipse / Netbeans):

<dependency>
    <groupId>org.robolectric</groupId>
    <artifactId>junit</artifactId>
    <version>4.10.3</version>
</dependency>

How to add a dependency to Gradle

Gradle Groovy DSL: Add the following org.robolectric : junit gradle dependency to your build.gradle file:

implementation 'org.robolectric:junit:4.10.3'

Gradle Kotlin DSL: Add the following org.robolectric : junit gradle kotlin dependency to your build.gradle.kts file:

implementation("org.robolectric:junit:4.10.3")

How to add a dependency to SBT Scala

SBT Scala: Add the following org.robolectric : junit sbt scala dependency to your build.sbt file:

libraryDependencies += "org.robolectric" % "junit" % "4.10.3"

Advertisement

Dependencies from Group

May 17, 2023
407 usages
5.8k stars
Sep 07, 2022
61 usages
17 usages
5.8k stars
May 17, 2023
14 usages
5.8k stars

Discover Dependencies

May 17, 2019
1 usages
67 stars
May 17, 2019
1 usages
67 stars
May 17, 2019
1 usages
67 stars
May 17, 2019
1 usages
52 stars
May 17, 2019
1 usages
67 stars
May 17, 2019
1 usages
52 stars