JMockit

JMockit is a Java toolkit for automated developer testing. It contains APIs for the creation of the objects to be tested, for mocking dependencies, and for faking external APIs; JUnit (4 & 5) and TestNG test runners are supported. It also contains an advanced code coverage tool.

License

License

GroupId

GroupId

org.jmockit
ArtifactId

ArtifactId

jmockit
Last Version

Last Version

1.49
Release Date

Release Date

Type

Type

jar
Description

Description

JMockit
JMockit is a Java toolkit for automated developer testing. It contains APIs for the creation of the objects to be tested, for mocking dependencies, and for faking external APIs; JUnit (4 & 5) and TestNG test runners are supported. It also contains an advanced code coverage tool.
Project URL

Project URL

http://jmockit.github.io
Source Code Management

Source Code Management

https://github.com/jmockit/jmockit1

Download jmockit

How to add to project

<!-- https://jarcasting.com/artifacts/org.jmockit/jmockit/ -->
<dependency>
    <groupId>org.jmockit</groupId>
    <artifactId>jmockit</artifactId>
    <version>1.49</version>
</dependency>
// https://jarcasting.com/artifacts/org.jmockit/jmockit/
implementation 'org.jmockit:jmockit:1.49'
// https://jarcasting.com/artifacts/org.jmockit/jmockit/
implementation ("org.jmockit:jmockit:1.49")
'org.jmockit:jmockit:jar:1.49'
<dependency org="org.jmockit" name="jmockit" rev="1.49">
  <artifact name="jmockit" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.jmockit', module='jmockit', version='1.49')
)
libraryDependencies += "org.jmockit" % "jmockit" % "1.49"
[org.jmockit/jmockit "1.49"]

Dependencies

compile (6)

Group / Artifact Type Version
com.google.code.findbugs : jsr305 jar 3.0.2
junit : junit Optional jar 4.12
org.junit.jupiter : junit-jupiter-engine Optional jar 5.5.1
org.testng : testng Optional jar 6.14.3
javax : javaee-api Optional jar 7.0
org.springframework : spring-web Optional jar 4.2.0.RELEASE

Project Modules

There are no modules declared in this project.

Codebase for JMockit 1.x releases - Documentation - Release notes

How to build the project:

  • use JDK 1.8 or newer
  • use Maven 3.6.0 or newer; the following are the top-level modules:
    1. main/pom.xml: builds jmockit-1.n.jar, running JUnit 4 and TestNG test suites
    2. coverageTests/pom.xml: runs JUnit 4 tests for the coverage tool
    3. samples/pom.xml: various sample test suites (tutorial, LoginService, java8testing) using JUnit 4, 5, or TestNG 6
    4. samples/petclinic/pom.xml: integration testing example using Java EE 8
org.jmockit

The JMockit Testing Toolkit

A Java toolkit for automated developer testing

Versions

Version
1.49
1.48
1.47
1.46
1.45
1.44
1.43
1.42
1.41
1.40
1.39
1.38
1.37
1.36.3
1.36.2
1.36.1
1.36
1.35
1.34
1.33
1.32
1.31
1.30
1.29
1.28
1.27
1.26
1.25
1.24
1.23
1.22
1.21
1.20
1.19
1.18
1.17
1.17-beta2
1.17-beta1
1.16
1.16-beta3
1.16-beta2
1.16-beta1
1.15
1.14
1.13
1.12
1.11
1.10
1.9
1.8