Registry / testing / jersey-test-framework-core

jersey-test-framework-core

JSON →
library4.0.2javamavenunverified

Core module of the Jersey Test Framework for testing JAX-RS applications.

<dependency> <groupId>org.glassfish.jersey.test-framework</groupId> <artifactId>jersey-test-framework-core</artifactId> <version>4.0.2</version> </dependency>
INSTALL
IMPORT
SIG · JERSEY-TEST-FRAMEW
J
jersey-test-framework-core
testingjavav4.0.2
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.

JerseyTest
org.glassfish.jersey.test.JerseyTest

Extend JerseyTest to write integration tests for JAX-RS resources.

import org.glassfish.jersey.test.JerseyTest; import org.glassfish.jersey.server.ResourceConfig; import javax.ws.rs.core.Application; public class MyTest extends JerseyTest { @Override protected Application configure() { return new ResourceConfig(MyResource.class); } }
Debug
Known issues
breakingJersey Test Framework versions before 3.x use javax.ws.rs, while 3.x+ use jakarta.ws.rs.
fix
Use the appropriate import based on your Jersey version: javax for 2.x, jakarta for 3.x+.
affects: <3.0.0 || >=3.0.0
Upgrade
Version history
4.0.2latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
10
Resources
jersey-test-framework-core — mvn dependency:get jersey-test-framework-core · libregistry