Package | Description |
---|---|
ratpack.test.embed |
Support for creating embedded applications at test time, for testing Ratpack features and extensions.
|
ratpack.test.http |
Modifier and Type | Method and Description |
---|---|
default TestHttpClient |
EmbeddedApp.getHttpClient()
Creates a new test HTTP client that tests this embedded application.
|
Modifier and Type | Method and Description |
---|---|
default void |
EmbeddedApp.test(Consumer<? super TestHttpClient> consumer)
Provides the given consumer with a
test http client for this application, then closes this application. |
Modifier and Type | Method and Description |
---|---|
TestHttpClient |
TestHttpClient.params(Action<? super ImmutableMultimap.Builder<String,Object>> params) |
TestHttpClient |
TestHttpClient.requestSpec(Action<? super RequestSpec> requestAction) |
static TestHttpClient |
TestHttpClients.testHttpClient(ApplicationUnderTest applicationUnderTest) |
static TestHttpClient |
TestHttpClients.testHttpClient(ApplicationUnderTest applicationUnderTest,
Action<? super RequestSpec> requestConfigurer) |