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.
Compile Dependencies (7)
| Category/License | Group / Artifact | Version | Updates | |
|---|---|---|---|---|
Bytecode
BSD 3-clause
| asm
»
asm ASM, a very small and fast Java bytecode manipulation framework | 3.3.1 | 9.9.1 | |
BSD 3-clause
| asm
»
asm-util Utilities for ASM, a very small and fast Java bytecode manipulation framework | 3.3.1 | 9.9.1 | |
Bytecode
Apache 2.0
| cglib
»
cglib High level API to generate and transform Java byte code. | 2.2.2 | 3.3.0 | |
Collections
Apache 2.0
| commons-collections
»
commons-collections2 vulnerabilities The Apache Commons Collections package contains types that extend and augment the Java Collections Framework. | 3.2.1 | 4.5.0 | |
Core Utils
Apache 2.0
| commons-lang
»
commons-lang1 vulnerability Apache Commons Lang, a package of Java utility classes for the classes that are in java.lang's hierarchy, or are ... | 2.6 | 3.20.0 | |
AOP
EPL 2.0
| org.aspectj
»
aspectjrt The AspectJ runtime is a small library necessary to run Java programs enhanced by AspectJ aspects during a previous | 1.7.3 | 1.9.25.1 | |
Reflection
Apache 2.0
| org.objenesis
»
objenesis A library for instantiating Java objects | 2.0 | 3.5 |
Test Dependencies (3)
| Category/License | Group / Artifact | Version | Updates | |
|---|---|---|---|---|
Testing
EPL 2.0
| junit
»
junit1 vulnerability JUnit Jupiter is the API for writing tests using JUnit 5. | 4.11 | 6.0.3 | |
AOP
EPL 2.0
| org.aspectj
»
aspectjweaver The AspectJ weaver applies aspects to Java classes. It can be used as a Java agent in order to apply load-time | 1.7.3 | 1.9.25.1 | |
Mocking
Apache 2.0
| org.easymock
»
easymock EasyMock provides an easy way to create Mock Objects for interfaces and classes generating them on the fly | 3.2 | 5.6.0 |
