title: @EnableAutoConfiguration on AbstractIntegrationTest possible?
body: <p>Having lots of Integration-Test Implementations like this:</p>
  
  <pre><code>// no @Annotations at all
  class SomeIntegrationTest extends AbstractIntegrationTest {
    ...
  }
  </code></pre>
  
  <p>using (Spring Boot 1.5, JUnit 5)</p>
  
  <pre><code>@SpringBootTest(classes = {CoreConfiguration.class, RestTemplateAutoConfiguration.class, JacksonAutoConfiguration.class})
  @ExtendWith(SpringExtension.class)
  @AutoConfigureMockMvc
  @Transactional
  public abstract class AbstractIntegrationTest {
    ...
  }
  </code></pre>
  
  <p>this is always failing with </p>
  
  <pre><code>org.springframework.beans.factory.NoSuchBeanDefinitionException:
  No qualifying bean of type 'javax.persistence.EntityManagerFactory' available
  </code></pre>
  
  <p>unless I annotate <em>every</em> IntegrationTest-Implementation with </p>
  
  <pre><code>@EnableAutoConfiguration    
  class SomeIntegrationTest extends AbstractIntegrationTest {
   ...
  }
  </code></pre>
  
  <p>I wonder why I cannot <code>@EnableAutoConfiguration</code> the <code>AbstractIntegrationTest</code> and be done with it.
  (When doing so, it fails with <code>IllegalArgumentException: No auto-configuration attributes found. Is package.SomeIntegrationTest annotated with EnableAutoConfiguration?</code>)</p>
  
  <p>Our normal Apps look like this:</p>
  
  <pre><code>@SpringBootApplication
  @Import({CoreConfiguration.class, OtherConfiguration.class})
  public class WebApp {
  </code></pre>
  
  <p>here the <code>@SpringBootApplication</code> obviously implies  <code>@EnableAutoConfiguration</code> but I would like to avoid annotating each and every <code>*IntegrationTest</code> with this and instead configure it once on the <code>AbstractIntegrationTest</code>.</p>
  
  <p>Is this fighting against spring-boot in any way or is there some way to achieve this? Thanks.</p>