| Package | Description |
|---|---|
| ratpack.groovy.test | |
| ratpack.groovy.test.embed |
Support for creating Groovy based embedded applications.
|
| ratpack.test | |
| ratpack.test.embed |
Support for creating embedded applications at test time, for testing Ratpack features and extensions.
|
| ratpack.test.mock |
Support for creating mocks for remote APIs
|
| Modifier and Type | Class and Description |
|---|---|
class |
GroovyRatpackMainApplicationUnderTest |
| Modifier and Type | Interface and Description |
|---|---|
interface |
GroovyEmbeddedApp
A more Groovy version of
EmbeddedApp. |
| Modifier and Type | Class and Description |
|---|---|
class |
MainClassApplicationUnderTest
An application under test fixture that can be used to test a server started by a “main” method.
|
class |
ServerBackedApplicationUnderTest
An
ApplicationUnderTest implementation that manages a RatpackServer. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
EmbeddedApp
An application created and used at runtime, useful for functionally testing subsets of functionality.
|
| Modifier and Type | Class and Description |
|---|---|
class |
MockApi
A test harness for simulating behavior of remote APIs by starting an
EmbeddedApp that will
handle requests based on the content of the received request. |