MVN

com.github.mht-xyt : automock

Maven & Gradle

Jan 14, 2020
2 stars

全自动生成mock srvice代码的类,并放入test目录下,并自动执行。 只需要引用此包,并调用AutoMock中的mock或mockPkg 即可; *生成的代码在/src/test/java/mock/下 *项目需遵从/src/main/java结构

<dependency>
    <groupId>com.github.mht-xyt</groupId>
    <artifactId>automock</artifactId>
    <version>1.0</version>
</dependency>
Copy
pom.xml
Table Of Contents

Latest Version

Choose a version of com.github.mht-xyt : automock to add to Maven or Gradle - Latest Versions:

  • Latest Stable: 1.0

All Versions

Choose a version of com.github.mht-xyt : automock to add to Maven or Gradle - All Versions:

Version Vulnerabilities Updated
1.0
automock-1.0

How to add a dependency to Maven

Add the following com.github.mht-xyt : automock maven dependency to the pom.xml file with your favorite IDE (IntelliJ / Eclipse / Netbeans):

<dependency>
    <groupId>com.github.mht-xyt</groupId>
    <artifactId>automock</artifactId>
    <version>1.0</version>
</dependency>

How to add a dependency to Gradle

Gradle Groovy DSL: Add the following com.github.mht-xyt : automock gradle dependency to your build.gradle file:

implementation 'com.github.mht-xyt:automock:1.0'

Gradle Kotlin DSL: Add the following com.github.mht-xyt : automock gradle kotlin dependency to your build.gradle.kts file:

implementation("com.github.mht-xyt:automock:1.0")

How to add a dependency to SBT Scala

SBT Scala: Add the following com.github.mht-xyt : automock sbt scala dependency to your build.sbt file:

libraryDependencies += "com.github.mht-xyt" % "automock" % "1.0"

Advertisement