| Package | Description |
|---|---|
| ratpack.test | |
| ratpack.test.embed |
Support for creating embedded applications at test time, for testing Ratpack features and extensions.
|
| ratpack.test.http | |
| ratpack.util |
General purpose types and utilities.
|
| Modifier and Type | Method and Description |
|---|---|
static CloseableApplicationUnderTest |
ApplicationUnderTest.of(Factory<? extends RatpackServer> ratpackServer) |
| Modifier and Type | Method and Description |
|---|---|
static EmbeddedApp |
EmbeddedApp.fromServer(Factory<? extends RatpackServer> server)
Creates an embedded application for the given server.
|
| Modifier and Type | Method and Description |
|---|---|
static TestHttpClient |
TestHttpClient.testHttpClient(Factory<? extends RatpackServer> server) |
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
ExceptionUtils.uncheck(Factory<T> factory)
Executes the given factory, returning its result and unchecking any exceptions it throws.
|