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.
|
IntegrationTestPropertiesListener |
Manipulate the TestContext to merge properties from
@IntegrationTest . |
OutputCapture |
JUnit
@Rule to capture output from System.out and System.err. |
ServerPortInfoApplicationContextInitializer | Deprecated
since 1.3 in favor of
org.springframework.boot.context.web.ServerPortInfoApplicationContextInitializer
|
SpringApplicationContextLoader |
A
ContextLoader that can be used to test Spring Boot applications (those that
normally startup using SpringApplication ). |
SpringBootMockServletContext |
MockServletContext implementation for Spring Boot. |
TestRestTemplate |
Convenient subclass of
RestTemplate that is suitable for integration tests. |
TestRestTemplate.CustomHttpComponentsClientHttpRequestFactory |
HttpComponentsClientHttpRequestFactory to apply customizations. |
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 full startup in the same way as a production application.
|
SpringApplicationConfiguration |
Class-level annotation that is used to determine how to load and configure an
ApplicationContext for integration tests. |
WebIntegrationTest |
Test class annotation signifying that the tests are "web integration tests" and
therefore require full startup in the same way as a production application (listening
on normal ports).
|
Copyright © 2015 Pivotal Software, Inc.. All rights reserved.