Registry / testing / de-flapdoodle-embed-process

de-flapdoodle-embed-process

JSON →
library4.18.0javamavenunverified

Provides a framework for starting and managing embedded processes, such as databases, in unit tests.

<dependency> <groupId>de.flapdoodle.embed</groupId> <artifactId>de.flapdoodle.embed.process</artifactId> <version>4.18.0</version> </dependency>
INSTALL
IMPORT
SIG · DE-FLAPDOODLE-EMBE
D
de-flapdoodle-embed-process
testingjavav4.18.0
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.

Network
de.flapdoodle.embed.process.runtime.Network

Gets a free server port using the embedded process network utility.

import de.flapdoodle.embed.process.runtime.Network; public class Main { public static void main(String[] args) throws Exception { int freePort = Network.getFreeServerPort(); System.out.println("Free port: " + freePort); } }
Debug
Known issues
breakingVersion 4.x has breaking changes from 3.x; the API has been restructured.
fix
Refer to the migration guide when upgrading from 3.x to 4.x.
affects: >=4.0
Upgrade
Version history
4.18.0latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Resources
de-flapdoodle-embed-process — mvn dependency:get de-flapdoodle-embed-process · libregistry