Skip to content

Commit 4f96edd

Browse files
committed
[SPR-8240][SPR-8401] Documenting @configuration class and @activeprofiles support in the TestContext framework.
1 parent 7307f3d commit 4f96edd

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

spring-framework-reference/src/new-in-3.1.xml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,10 +125,13 @@
125125
</itemizedlist>
126126
</section>
127127
<section>
128-
<title>TestContext framework support for @Configuration classes</title>
128+
<title>TestContext framework support for @Configuration classes and bean definition profiles</title>
129129
<para>The <interfacename>@ContextConfiguration</interfacename> annotation now
130130
supports supplying <interfacename>@Configuration</interfacename> classes for
131-
configuring the Spring <classname>TestContext</classname></para>
131+
configuring the Spring <classname>TestContext</classname>. In addition, a new
132+
<interfacename>@ActiveProfiles</interfacename> annotation has been introduced
133+
to support declarative configuration of active bean definition profiles in
134+
<interfacename>ApplicationContext</interfacename> integration tests.</para>
132135
<itemizedlist>
133136
<listitem>
134137
<para>See org.springframework.test.context.ContextConfiguration Javadoc</para>

0 commit comments

Comments
 (0)