@Documented @Inherited @Retention(value=RUNTIME) @Target(value=TYPE) @TestExecutionListeners(listeners={IntegrationTestPropertiesListener.class,org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener.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}) 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
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.