MVN

io.mockk : mockk

Maven & Gradle

Aug 14, 2023
257 usages
5.4k stars

MockK · Mocking library for Kotlin

<dependency>
    <groupId>io.mockk</groupId>
    <artifactId>mockk</artifactId>
    <version>1.13.7</version>
</dependency>
Copy
pom.xml
Table Of Contents

Latest Version

Choose a version of io.mockk : mockk to add to Maven or Gradle - Latest Versions:

  • Latest Stable: 1.13.7

All Versions

Choose a version of io.mockk : mockk to add to Maven or Gradle - All Versions:

Version Vulnerabilities Updated
1.13.x
mockk-1.13.7
mockk-1.13.6
mockk-1.13.5
mockk-1.13.4
mockk-1.13.3
mockk-1.13.2
mockk-1.13.1
1.12.x
mockk-1.12.8
mockk-1.12.7
mockk-1.12.6
mockk-1.12.5
mockk-1.12.4
mockk-1.12.3
mockk-1.12.2
mockk-1.12.1
mockk-1.12.0
1.11.x
mockk-1.11.0
1.10.x
mockk-1.10.6
mockk-1.10.5
mockk-1.10.4
mockk-1.10.3-jdk8
mockk-1.10.3
mockk-1.10.2
mockk-1.10.1
mockk-1.10.0
1.9.x
mockk-1.9.3.kotlin12
mockk-1.9.3
mockk-1.9.2
mockk-1.9.2.kotlin12
mockk-1.9.1.kotlin12
mockk-1.9.1
mockk-1.9.kotlin12
1.9
mockk-1.9
1.8.x
mockk-1.8.13.kotlin13
mockk-1.8.13
mockk-1.8.12.kotlin13
mockk-1.8.12
mockk-1.8.11.kotlin13
mockk-1.8.11
mockk-1.8.10.kotlin13
mockk-1.8.10
mockk-1.8.9.kotlin13
mockk-1.8.9
mockk-1.8.8.kotlin13
mockk-1.8.8
mockk-1.8.7
mockk-1.8.6
mockk-1.8.5
mockk-1.8.4
mockk-1.8.3
mockk-1.8.2
mockk-1.8.1
1.8
mockk-1.8
1.7.x
mockk-1.7.17
mockk-1.7.16
mockk-1.7.15
mockk-1.7.14
mockk-1.7.13
mockk-1.7.12
mockk-1.7.11
mockk-1.7.10
mockk-1.7.9
mockk-1.7.8
mockk-1.7.7
mockk-1.7.6
mockk-1.7.5
mockk-1.7.4
mockk-1.7.3
mockk-1.7.2
mockk-1.7.1
1.7
mockk-1.7
1.6.x
mockk-1.6.3
mockk-1.6.2
mockk-1.6.1
1.6
mockk-1.6
1.5.x
mockk-1.5.6
mockk-1.5.5
mockk-1.5.4
mockk-1.5.3
mockk-1.5.2
mockk-1.5.1
1.5
mockk-1.5
1.4.x
mockk-1.4.2
mockk-1.4.1
1.4
mockk-1.4
1.3
mockk-1.3
1.2
mockk-1.2
1.1
mockk-1.1
1.0
mockk-1.0

How to add a dependency to Maven

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

<dependency>
    <groupId>io.mockk</groupId>
    <artifactId>mockk</artifactId>
    <version>1.13.7</version>
</dependency>

How to add a dependency to Gradle

Gradle Groovy DSL: Add the following io.mockk : mockk gradle dependency to your build.gradle file:

implementation 'io.mockk:mockk:1.13.7'

Gradle Kotlin DSL: Add the following io.mockk : mockk gradle kotlin dependency to your build.gradle.kts file:

implementation("io.mockk:mockk:1.13.7")

How to add a dependency to SBT Scala

SBT Scala: Add the following io.mockk : mockk sbt scala dependency to your build.sbt file:

libraryDependencies += "io.mockk" % "mockk" % "1.13.7"

Advertisement

Dependencies from Group

Aug 14, 2023
257 usages
5.4k stars
Aug 14, 2023
9 usages
5.4k stars
Aug 14, 2023
5 usages
5.4k stars
Aug 14, 2023
4 usages
5.4k stars
Aug 14, 2023
4 usages
5.4k stars

Discover Dependencies

Jan 10, 2008
67 usages
Jul 31, 2023
332 usages
30.5k stars
Aug 18, 2023
67 usages
88 stars
Mar 17, 2023
1.4k usages
2.1k stars
Jun 14, 2023
14 usages
54 stars
May 27, 2021
3 usages
126 stars
Aug 09, 2022
5 usages
270 stars