title: @Import vs @ContextConfiguration in Spring
body: <p>Is there any difference in usage of the annotations? Both the annotations allow to use multiple <code>@Configuration</code> classes to create an <code>ApplicationContext</code>. From their docs <code>@ContextConfiguration</code> seems to be more suitable for test configuration and comes from an artifact for tests (<code>spring-test</code>), however, I haven't found the actual difference.</p>
  
  <p>Thank you for any thoughts!</p>