MVN

org.mockito : mockito-core

Maven & Gradle

Aug 22, 2023
22.9k usages
14.8k stars

mockito-core · Mockito mock objects library core API and implementation

<dependency>
    <groupId>org.mockito</groupId>
    <artifactId>mockito-core</artifactId>
    <version>5.5.0</version>
</dependency>
Copy
pom.xml
Table Of Contents

Latest Version

Choose a version of org.mockito : mockito-core to add to Maven or Gradle - Latest Versions:

  • Latest Stable: 5.5.0
  • Latest Release Candidate: 2.1.0-RC.2
  • Latest Beta: 2.2.0-beta.1

All Versions

Choose a version of org.mockito : mockito-core to add to Maven or Gradle - All Versions:

Version Vulnerabilities Updated
5.5.x
mockito-core-5.5.0
5.4.x
mockito-core-5.4.0
5.3.x
mockito-core-5.3.1
mockito-core-5.3.0
5.2.x
mockito-core-5.2.0
5.1.x
mockito-core-5.1.1
mockito-core-5.1.0
5.0.x
mockito-core-5.0.0
4.11.x
mockito-core-4.11.0
4.10.x
mockito-core-4.10.0
4.9.x
mockito-core-4.9.0
4.8.x
mockito-core-4.8.1
mockito-core-4.8.0
4.7.x
mockito-core-4.7.0
4.6.x
mockito-core-4.6.1
mockito-core-4.6.0
4.5.x
mockito-core-4.5.1
mockito-core-4.5.0
4.4.x
mockito-core-4.4.0
4.3.x
mockito-core-4.3.1
mockito-core-4.3.0
4.2.x
mockito-core-4.2.0
4.1.x
mockito-core-4.1.0
4.0.x
mockito-core-4.0.0
3.12.x
mockito-core-3.12.4
mockito-core-3.12.3
mockito-core-3.12.2
mockito-core-3.12.1
mockito-core-3.12.0
3.11.x
mockito-core-3.11.2
mockito-core-3.11.1
mockito-core-3.11.0
3.10.x
mockito-core-3.10.0
3.9.x
mockito-core-3.9.0
3.8.x
mockito-core-3.8.0
3.7.x
mockito-core-3.7.7
mockito-core-3.7.0
3.6.x
mockito-core-3.6.28
mockito-core-3.6.0
3.5.x
mockito-core-3.5.15
mockito-core-3.5.13
mockito-core-3.5.11
mockito-core-3.5.10
mockito-core-3.5.9
mockito-core-3.5.7
mockito-core-3.5.6
mockito-core-3.5.5
mockito-core-3.5.2
mockito-core-3.5.0
3.4.x
mockito-core-3.4.6
mockito-core-3.4.4
mockito-core-3.4.3
mockito-core-3.4.2
mockito-core-3.4.0
3.3.x
mockito-core-3.3.3
mockito-core-3.3.0
3.2.x
mockito-core-3.2.4
mockito-core-3.2.0
3.1.x
mockito-core-3.1.0
3.0.x
mockito-core-3.0.0
2.28.x
mockito-core-2.28.2
mockito-core-2.28.1
2.27.x
mockito-core-2.27.0
2.26.x
mockito-core-2.26.0
2.25.x
mockito-core-2.25.1
mockito-core-2.25.0
2.24.x
mockito-core-2.24.5
mockito-core-2.24.0
2.23.x
mockito-core-2.23.4
mockito-core-2.23.0
2.22.x
mockito-core-2.22.0
2.21.x
mockito-core-2.21.0
2.20.x
mockito-core-2.20.1
mockito-core-2.20.0
2.19.x
mockito-core-2.19.1
mockito-core-2.19.0
2.18.x
mockito-core-2.18.3
mockito-core-2.18.0
2.17.x
mockito-core-2.17.0
2.16.x
mockito-core-2.16.0
2.15.x
mockito-core-2.15.0
2.13.x
mockito-core-2.13.0
2.12.x
mockito-core-2.12.0
2.11.x
mockito-core-2.11.0
2.10.x
mockito-core-2.10.0
2.9.x
mockito-core-2.9.0
2.8.x
mockito-core-2.8.47
mockito-core-2.8.9
2.7.x
mockito-core-2.7.22
mockito-core-2.7.21
mockito-core-2.7.20
mockito-core-2.7.19
mockito-core-2.7.18
mockito-core-2.7.17
mockito-core-2.7.16
mockito-core-2.7.15
mockito-core-2.7.14
mockito-core-2.7.13
mockito-core-2.7.12
mockito-core-2.7.11
mockito-core-2.7.10
mockito-core-2.7.9
mockito-core-2.7.8
mockito-core-2.7.7
mockito-core-2.7.6
mockito-core-2.7.5
mockito-core-2.7.4
mockito-core-2.7.3
mockito-core-2.7.2
mockito-core-2.7.1
mockito-core-2.7.0
2.6.x
mockito-core-2.6.9
mockito-core-2.6.8
mockito-core-2.6.7
mockito-core-2.6.6
mockito-core-2.6.5
mockito-core-2.6.4
mockito-core-2.6.3
mockito-core-2.6.2
mockito-core-2.6.1
mockito-core-2.6.0
2.5.x
mockito-core-2.5.7
mockito-core-2.5.6
mockito-core-2.5.5
mockito-core-2.5.4
mockito-core-2.5.3
mockito-core-2.5.2
mockito-core-2.5.1
mockito-core-2.5.0
2.4.x
mockito-core-2.4.5
mockito-core-2.4.4
mockito-core-2.4.3
mockito-core-2.4.2
mockito-core-2.4.1
mockito-core-2.4.0
2.3.x
mockito-core-2.3.11
mockito-core-2.3.10
mockito-core-2.3.7
mockito-core-2.3.6
mockito-core-2.3.5
mockito-core-2.3.4
mockito-core-2.3.3
mockito-core-2.3.2
mockito-core-2.3.1
mockito-core-2.3.0
2.2.x
mockito-core-2.2.29
mockito-core-2.2.28
mockito-core-2.2.27
mockito-core-2.2.26
mockito-core-2.2.25
mockito-core-2.2.24
mockito-core-2.2.23
mockito-core-2.2.22
mockito-core-2.2.21
mockito-core-2.2.20
mockito-core-2.2.19
mockito-core-2.2.18
mockito-core-2.2.17
mockito-core-2.2.16
mockito-core-2.2.15
mockito-core-2.2.14
mockito-core-2.2.13
mockito-core-2.2.12
mockito-core-2.2.11
mockito-core-2.2.10
mockito-core-2.2.9
mockito-core-2.2.8
mockito-core-2.2.7
mockito-core-2.2.6
mockito-core-2.2.5
mockito-core-2.2.4
mockito-core-2.2.3
mockito-core-2.2.2
mockito-core-2.2.1
mockito-core-2.2.0
mockito-core-2.2.0-beta.1
2.1.x
mockito-core-2.1.0
mockito-core-2.1.0-RC.2
mockito-core-2.1.0-RC.1
mockito-core-2.1.0-beta.126
mockito-core-2.1.0-beta.125
mockito-core-2.1.0-beta.124
mockito-core-2.1.0-beta.123
mockito-core-2.1.0-beta.122
mockito-core-2.1.0-beta.121
mockito-core-2.1.0-beta.120
mockito-core-2.1.0-beta.119
2.0.x
mockito-core-2.0.111-beta
mockito-core-2.0.110-beta
mockito-core-2.0.109-beta
mockito-core-2.0.108-beta
mockito-core-2.0.107-beta
mockito-core-2.0.106-beta
mockito-core-2.0.105-beta
mockito-core-2.0.104-beta
mockito-core-2.0.103-beta
mockito-core-2.0.102-beta
mockito-core-2.0.101-beta
mockito-core-2.0.100-beta
mockito-core-2.0.99-beta
mockito-core-2.0.98-beta
mockito-core-2.0.97-beta
mockito-core-2.0.96-beta
mockito-core-2.0.95-beta
mockito-core-2.0.94-beta
mockito-core-2.0.93-beta
mockito-core-2.0.92-beta
mockito-core-2.0.91-beta
mockito-core-2.0.90-beta
mockito-core-2.0.89-beta
mockito-core-2.0.88-beta
mockito-core-2.0.87-beta
mockito-core-2.0.86-beta
mockito-core-2.0.85-beta
mockito-core-2.0.84-beta
mockito-core-2.0.83-beta
mockito-core-2.0.82-beta
mockito-core-2.0.81-beta
mockito-core-2.0.80-beta
mockito-core-2.0.79-beta
mockito-core-2.0.78-beta
mockito-core-2.0.77-beta
mockito-core-2.0.76-beta
mockito-core-2.0.74-beta
mockito-core-2.0.73-beta
mockito-core-2.0.72-beta
mockito-core-2.0.71-beta
mockito-core-2.0.70-beta
mockito-core-2.0.69-beta
mockito-core-2.0.68-beta
mockito-core-2.0.67-beta
mockito-core-2.0.66-beta
mockito-core-2.0.65-beta
mockito-core-2.0.64-beta
mockito-core-2.0.63-beta
mockito-core-2.0.62-beta
mockito-core-2.0.61-beta
mockito-core-2.0.60-beta
mockito-core-2.0.59-beta
mockito-core-2.0.58-beta
mockito-core-2.0.57-beta
mockito-core-2.0.56-beta
mockito-core-2.0.55-beta
mockito-core-2.0.54-beta
mockito-core-2.0.53-beta
mockito-core-2.0.52-beta
mockito-core-2.0.51-beta
mockito-core-2.0.50-beta
mockito-core-2.0.49-beta
mockito-core-2.0.48-beta
mockito-core-2.0.47-beta
mockito-core-2.0.46-beta
mockito-core-2.0.45-beta
mockito-core-2.0.44-beta
mockito-core-2.0.43-beta
mockito-core-2.0.42-beta
mockito-core-2.0.41-beta
mockito-core-2.0.40-beta
mockito-core-2.0.39-beta
mockito-core-2.0.38-beta
mockito-core-2.0.37-beta
mockito-core-2.0.36-beta
mockito-core-2.0.35-beta
mockito-core-2.0.34-beta
mockito-core-2.0.33-beta
mockito-core-2.0.32-beta
mockito-core-2.0.31-beta
mockito-core-2.0.30-beta
mockito-core-2.0.28-beta
mockito-core-2.0.27-beta
mockito-core-2.0.26-beta
mockito-core-2.0.25-beta
mockito-core-2.0.24-beta
mockito-core-2.0.23-beta
mockito-core-2.0.22-beta
mockito-core-2.0.21-beta
mockito-core-2.0.20-beta
mockito-core-2.0.19-beta
mockito-core-2.0.18-beta
mockito-core-2.0.17-beta
mockito-core-2.0.16-beta
mockito-core-2.0.15-beta
mockito-core-2.0.14-beta
mockito-core-2.0.13-beta
mockito-core-2.0.12-beta
mockito-core-2.0.11-beta
mockito-core-2.0.10-beta
mockito-core-2.0.9-beta
mockito-core-2.0.8-beta
mockito-core-2.0.7-beta
mockito-core-2.0.6-beta
mockito-core-2.0.5-beta
mockito-core-2.0.4-beta
mockito-core-2.0.3-beta
mockito-core-2.0.2-beta
mockito-core-2.0.1-beta
mockito-core-2.0.0-beta.118
mockito-core-2.0.0-beta.117
mockito-core-2.0.0-beta.116
mockito-core-2.0.0-beta.115
mockito-core-2.0.0-beta.114
mockito-core-2.0.0-beta.113
mockito-core-2.0.0-beta.112
mockito-core-2.0.0-beta
1.10.x
mockito-core-1.10.19
mockito-core-1.10.18
mockito-core-1.10.17
mockito-core-1.10.16
mockito-core-1.10.8
mockito-core-1.10.7
mockito-core-1.10.5
1.9.x
mockito-core-1.9.5
mockito-core-1.9.5-rc1
mockito-core-1.9.0
mockito-core-1.9.0-rc1
1.8.x
mockito-core-1.8.5
mockito-core-1.8.4
mockito-core-1.8.3
mockito-core-1.8.2
mockito-core-1.8.1
mockito-core-1.8.1-rc1
mockito-core-1.8.0
mockito-core-1.8.0-rc2
mockito-core-1.8.0-rc1
1.7
mockito-core-1.7
1.6
mockito-core-1.6
1.5
mockito-core-1.5
1.3
mockito-core-1.3

How to add a dependency to Maven

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

<dependency>
    <groupId>org.mockito</groupId>
    <artifactId>mockito-core</artifactId>
    <version>5.5.0</version>
</dependency>

How to add a dependency to Gradle

Gradle Groovy DSL: Add the following org.mockito : mockito-core gradle dependency to your build.gradle file:

implementation 'org.mockito:mockito-core:5.5.0'

Gradle Kotlin DSL: Add the following org.mockito : mockito-core gradle kotlin dependency to your build.gradle.kts file:

implementation("org.mockito:mockito-core:5.5.0")

How to add a dependency to SBT Scala

SBT Scala: Add the following org.mockito : mockito-core sbt scala dependency to your build.sbt file:

libraryDependencies += "org.mockito" % "mockito-core" % "5.5.0"

Advertisement

Dependencies from Group

Aug 22, 2023
22.9k usages
14.8k stars
Jan 02, 2015
12.2k usages
14.8k stars
Aug 22, 2023
2.3k usages
14.8k stars
Mar 09, 2023
722 usages
14.8k stars
May 06, 2023
94 usages
16 stars

Discover Dependencies

May 30, 2023
10k usages
1k stars
Nov 09, 2021
18 usages
119 stars
Aug 25, 2023
12 usages
15.4k stars
Jun 03, 2023
10 usages
391 stars
Jun 18, 2023
5.5k usages
3.1k stars
Jun 18, 2023
56 usages
3.1k stars
May 10, 2023
186 usages
1k stars
Jul 31, 2023
382 usages
30.5k stars
Feb 01, 2016
8 usages
6.4k stars
Jun 06, 2023
38 usages
298 stars