Registry / testing / mockito-testng

mockito-testng

JSON →
library0.5.4javamavenunverified

Mockito integration for TestNG testing framework.

<dependency> <groupId>org.mockito</groupId> <artifactId>mockito-testng</artifactId> <version>0.5.4</version> </dependency>
INSTALL
IMPORT
SIG · MOCKITO-TESTNG
M
mockito-testng
testingjavav0.5.4
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

MockitoTestNGListener
org.mockito.testng.MockitoTestNGListener

Minimal TestNG test using MockitoTestNGListener.

import org.mockito.testng.MockitoTestNGListener; import org.testng.annotations.Listeners; import org.testng.annotations.Test; @Listeners(MockitoTestNGListener.class) public class MyTest { @Test public void testSomething() { // Mockito mocks are initialized automatically } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.5.4latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
mockito-testng — mvn dependency:get mockito-testng · libregistry