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. |
RestTemplates |
Convenient static factory for
RestTemplate instances that are suitable for
integration tests. |
SpringApplicationContextLoader |
A
ContextLoader that can be used to test Spring Boot applications (those that
normally startup using SpringApplication ). |
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. All rights reserved.