@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
public abstract String[] value
Environment
before the test runs.Copyright © 2016 Pivotal Software, Inc.. All rights reserved.