Registry / testing / spring-mock

spring-mock

JSON →
library2.0.8javamavenunverified

Provides mock objects and utilities for testing Spring Framework applications.

<dependency> <groupId>org.springframework</groupId> <artifactId>spring-mock</artifactId> <version>2.0.8</version> </dependency>
INSTALL
IMPORT
SIG · SPRING-MOCK
S
spring-mock
testingjavav2.0.8
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.

MockHttpServletRequest
✓ org.springframework.mock.web.MockHttpServletRequest

Create a mock HTTP request for testing Spring controllers.

import org.springframework.mock.web.MockHttpServletRequest; MockHttpServletRequest request = new MockHttpServletRequest();
Debug
Known issues
breakingThis module is outdated and replaced by spring-test; may have compatibility issues with newer Spring versions.
fix
Use spring-test module instead.
affects: 2.x
Upgrade
Version history
2.0.8latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Resources
spring-mock — mvn dependency:get spring-mock · libregistry