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. |
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. |
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.