[SPR-8240][SPR-8401] Documenting @Configuration class and @ActiveProfiles support in the TestContext framework.

master
Sam Brannen 13 years ago
parent 7307f3d513
commit 4f96edd901
  1. 7
      spring-framework-reference/src/new-in-3.1.xml

@ -125,10 +125,13 @@
</itemizedlist>
</section>
<section>
<title>TestContext framework support for @Configuration classes</title>
<title>TestContext framework support for @Configuration classes and bean definition profiles</title>
<para>The <interfacename>@ContextConfiguration</interfacename> annotation now
supports supplying <interfacename>@Configuration</interfacename> classes for
configuring the Spring <classname>TestContext</classname></para>
configuring the Spring <classname>TestContext</classname>. In addition, a new
<interfacename>@ActiveProfiles</interfacename> annotation has been introduced
to support declarative configuration of active bean definition profiles in
<interfacename>ApplicationContext</interfacename> integration tests.</para>
<itemizedlist>
<listitem>
<para>See org.springframework.test.context.ContextConfiguration Javadoc</para>

Loading…
Cancel
Save