MVN

com.googlecode.vmock : vmock

Maven & Gradle

Nov 09, 2013

Virtual Mock Objects library for Java · VMock is a Java mocking library with ability to mock method and constructor calls without the need to create mock objects. It uses AspectJ under the hood and should be used along with unit testing frameworks such as JUnit or TestNG.

<dependency>
    <groupId>com.googlecode.vmock</groupId>
    <artifactId>vmock</artifactId>
    <version>1.1.1</version>
</dependency>
Copy
pom.xml
Table Of Contents

Latest Version

Choose a version of com.googlecode.vmock : vmock to add to Maven or Gradle - Latest Versions:

  • Latest Stable: 1.1.1

All Versions

Choose a version of com.googlecode.vmock : vmock to add to Maven or Gradle - All Versions:

Version Vulnerabilities Updated
1.1.x
vmock-1.1.1
vmock-1.1.0
1.0.x
vmock-1.0.0

How to add a dependency to Maven

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

<dependency>
    <groupId>com.googlecode.vmock</groupId>
    <artifactId>vmock</artifactId>
    <version>1.1.1</version>
</dependency>

How to add a dependency to Gradle

Gradle Groovy DSL: Add the following com.googlecode.vmock : vmock gradle dependency to your build.gradle file:

implementation 'com.googlecode.vmock:vmock:1.1.1'

Gradle Kotlin DSL: Add the following com.googlecode.vmock : vmock gradle kotlin dependency to your build.gradle.kts file:

implementation("com.googlecode.vmock:vmock:1.1.1")

How to add a dependency to SBT Scala

SBT Scala: Add the following com.googlecode.vmock : vmock sbt scala dependency to your build.sbt file:

libraryDependencies += "com.googlecode.vmock" % "vmock" % "1.1.1"