See: Description
Class | Description |
---|---|
ConfigFileApplicationContextInitializer |
ApplicationContextInitializer that can be used with the
ContextConfiguration#initializers() to trigger loading of
application.properties. |
EnvironmentTestUtils |
Test utilities for setting environment values.
|
OutputCapture |
JUnit
@Rule to capture output from System.out and System.err. |
ServerPortInfoApplicationContextInitializer |
ApplicationContextInitializer that sets Environment properties for the
ports that EmbeddedServletContainer servers are actually listening on. |
SpringApplicationContextLoader |
A
ContextLoader that can be used to test Spring Boot applications (those that
normally startup using SpringApplication ). |
TestRestTemplate |
Convenient subclass of
RestTemplate that is suitable for integration tests. |
TestRestTemplate.CustomHttpComponentsClientHttpRequestFactory |
Enum | Description |
---|---|
TestRestTemplate.HttpClientOption |
Options used to customize the Apache Http Client if it is used.
|
Annotation Type | Description |
---|---|
IntegrationTest |
Test class annotation signifying that the tests are integration tests (and therefore
require an application to startup "fully leaded" and listening on its normal ports).
|
SpringApplicationConfiguration |
Class-level annotation that is used to determine how to load and configure an
ApplicationContext for integration tests.
|
Copyright © 2014 Pivotal Software, Inc.. All rights reserved.