Mockito

org.mockito : mockito-all

Mock objects library for java

Jan 02, 2015
6.4k usages
12k stars

Add dependency in Maven / Gradle

<!-- https://jmaven.com/dependency/org.mockito/mockito-all --> 
<dependency>
    <groupId>org.mockito</groupId>
    <artifactId>mockito-all</artifactId>
    <version>2.0.2-beta</version>
</dependency>

1. Add dependency to a Maven project

Maven: Add the org.mockito:mockito-all library to the dependencies element of your pom.xml file:

<dependencies>
<dependency>
  <groupId>org.mockito</groupId>
  <artifactId>mockito-all</artifactId>
  <version>2.0.2-beta</version>
</dependency>
</dependencies>

To install org.mockito:mockito-all library use the following command:

mvn install

2. Add dependency to a Gradle project

Gradle Groovy DSL: Add the org.mockito:mockito-all library to the dependencies section of your build.gradle file:

dependencies {
implementation 'org.mockito:mockito-all:2.0.2-beta'
}

Gradle Kotlin DSL: Add the org.mockito:mockito-all library to the dependencies section of your build.gradle.kts file:

dependencies {
implementation("org.mockito:mockito-all:2.0.2-beta")
}

3. Add dependency to a SBT Scala project

Scala: Add the org.mockito:mockito-all library to your build.sbt file:

libraryDependencies += "org.mockito" % "mockito-all" % "2.0.2-beta"

4. Add dependency to a Grape project

Grape: Add an annotation org.mockito:mockito-all library to your groovy script file:

@Grapes(
    @Grab('org.mockito:mockito-all:2.0.2-beta')
)

Compile Dependencies (0)

Group / Artifact Usage

Provided Dependencies (0)

Group / Artifact Usage

Test Dependencies (0)

Group / Artifact Usage

Recommended for You

A class to read in arbitrary XML content (including TEI) into UIMA, translating some structural annotation to stand off

3 usages
0 stars

Deep Java Library (DJL) provided PyTorch native library binary distribution

2.3k stars

DocBook XSLT 2.0 stylesheets

66 stars

Jackson adapter Module

4 usages

The Change Password protocol provider for ApacheDS

4 usages

More from Group

Mockito mock objects library core API and implementation

16k usages
12k stars

Mock objects library for java

6.4k usages
12k stars

Mockito JUnit 5 support

1.2k usages
12k stars

Mockito preconfigured inline mock maker (intermediate and to be superseeded by automatic usage in a future version)

360 usages
12k stars

Mockito for TestNG

88 usages
9 stars
© 2022 JMaven.com