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

This commit is contained in:
Sam Brannen 2011-06-05 19:23:29 +00:00
parent 7307f3d513
commit 4f96edd901
1 changed files with 5 additions and 2 deletions

View File

@ -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>