MVN

org.mockito.kotlin : mockito-kotlin

Maven & Gradle

Aug 09, 2023
38 usages
3k stars

Mockito-Kotlin · Using Mockito with Kotlin.

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

Latest Version

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

  • Latest Stable: 5.1.0

All Versions

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

Version Vulnerabilities Updated
5.1.x
mockito-kotlin-5.1.0
5.0.x
mockito-kotlin-5.0.0
4.1.x
mockito-kotlin-4.1.0
4.0.x
mockito-kotlin-4.0.0
3.2.x
mockito-kotlin-3.2.0
3.1.x
mockito-kotlin-3.1.0
3.0.x
mockito-kotlin-3.0.0
2.2.x
mockito-kotlin-2.2.11
mockito-kotlin-2.2.10
mockito-kotlin-2.2.9
mockito-kotlin-2.2.8
mockito-kotlin-2.2.7

How to add a dependency to Maven

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

<dependency>
    <groupId>org.mockito.kotlin</groupId>
    <artifactId>mockito-kotlin</artifactId>
    <version>5.1.0</version>
</dependency>

How to add a dependency to Gradle

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

implementation 'org.mockito.kotlin:mockito-kotlin:5.1.0'

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

implementation("org.mockito.kotlin:mockito-kotlin:5.1.0")

How to add a dependency to SBT Scala

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

libraryDependencies += "org.mockito.kotlin" % "mockito-kotlin" % "5.1.0"

Advertisement

Dependencies from Group

Aug 09, 2023
38 usages
3k stars

Discover Dependencies

Sep 04, 2013
27 usages
Jul 19, 2023
225 usages
1k stars
Feb 12, 2023
135 usages
73 stars
Aug 18, 2023
111 usages
2.7k stars
Oct 05, 2021
355 stars
Aug 10, 2023
157 usages
2.2k stars
Aug 23, 2023
272 usages
Mar 17, 2023
3.1k usages
2.1k stars
Apr 27, 2023
228 usages
169 stars