[weld-commits] Weld SVN: r5613 - cdi-tck/trunk/doc/reference/en-US.
weld-commits at lists.jboss.org
weld-commits at lists.jboss.org
Fri Jan 22 11:57:43 EST 2010
Author: pete.muir at jboss.org
Date: 2010-01-22 11:57:42 -0500 (Fri, 22 Jan 2010)
New Revision: 5613
Modified:
cdi-tck/trunk/doc/reference/en-US/configuration.xml
Log:
port CDITCK-85 to trunk
Modified: cdi-tck/trunk/doc/reference/en-US/configuration.xml
===================================================================
--- cdi-tck/trunk/doc/reference/en-US/configuration.xml 2010-01-22 16:56:19 UTC (rev 5612)
+++ cdi-tck/trunk/doc/reference/en-US/configuration.xml 2010-01-22 16:57:42 UTC (rev 5613)
@@ -166,6 +166,20 @@
</para>
</section>
+
+ <section>
+ <title>Using the CDI TCK with the Java EE Web Profile</title>
+ <para>
+ You can configure the CDI TCK to just run tests appropriate to the Java EE
+ Web Profile by adding the <literal>WebProfileMethodSelector</literal> to
+ TestNG XML configuration file:
+ </para>
+ <programlisting><![CDATA[<method-selectors>
+ <method-selector>
+ <selector-class name="org.jboss.jsr299.tck.impl.WebProfileMethodSelector" />
+ </method-selector>
+</method-selectors>]]></programlisting>
+ </section>
<section>
<title>Configuring TestNG to execute the TCK</title>
@@ -180,7 +194,7 @@
The
<literal>tck-tests.xml</literal>
artifact provided in the TCK distribution must be run by TestNG 5.9
- (described by the TestNG documenation as "with a
+ (described by the TestNG documentation as "with a
<literal>testng.xml</literal>
file") unmodified for an implementation to pass the TCK. This file also
allows tests to be excluded from a run:
More information about the weld-commits
mailing list