SpringBootTest
@Documented @Inherited @Retention(value=RUNTIME) @Target(value=TYPE) @TestExecutionListeners(listeners={IntegrationTestPropertiesListener.class,org.springframework.test.context.support.DependencyInjectionTestExecutionListener.class,org.springframework.test.context.support.DirtiesContextTestExecutionListener.class,org.springframework.test.context.transaction.TransactionalTestExecutionListener.class,org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener.class}) @Deprecated public @interface IntegrationTest
@SpringApplicationConfiguration
.
If your test also uses @WebAppConfiguration
consider using the
WebIntegrationTest
instead.
WebIntegrationTest
Modifier and Type | Optional Element and Description |
---|---|
String[] |
value
Deprecated.
Properties in form key=value that should be added to the Spring
Environment before the test runs. |
public abstract String[] value
Environment
before the test runs.Copyright © 2016 Pivotal Software, Inc.. All rights reserved.