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

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4465 50f2f4bb-b051-0410-bef5-90022cba6387
This commit is contained in:
Sam Brannen
2011-06-05 19:23:29 +00:00
parent b8d36919f4
commit 6a509f49b0
@@ -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>