You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@deltaspike.apache.org by bu...@apache.org on 2013/12/15 21:01:04 UTC

svn commit: r890450 - in /websites/staging/deltaspike/trunk/content: ./ test-control.html

Author: buildbot
Date: Sun Dec 15 20:01:04 2013
New Revision: 890450

Log:
Staging update by buildbot for deltaspike

Modified:
    websites/staging/deltaspike/trunk/content/   (props changed)
    websites/staging/deltaspike/trunk/content/test-control.html

Propchange: websites/staging/deltaspike/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Sun Dec 15 20:01:04 2013
@@ -1 +1 @@
-1549209
+1551046

Modified: websites/staging/deltaspike/trunk/content/test-control.html
==============================================================================
--- websites/staging/deltaspike/trunk/content/test-control.html (original)
+++ websites/staging/deltaspike/trunk/content/test-control.html Sun Dec 15 20:01:04 2013
@@ -87,7 +87,14 @@
 <li><a href="#project-stage-control">Project-Stage Control</a></li>
 <li><a href="#optional-config">Optional Config</a></li>
 <li><a href="#hints">Hints</a></li>
-<li><a href="#spi">SPI</a></li>
+<li><a href="#optional-integrations">Optional Integrations</a><ul>
+<li><a href="#jsf-via-myfaces-test">JSF (via MyFaces-Test)</a></li>
+</ul>
+</li>
+<li><a href="#spi">SPI</a><ul>
+<li><a href="#externalcontainer">ExternalContainer</a></li>
+</ul>
+</li>
 </ul>
 </div>
 <hr />
@@ -159,7 +166,20 @@
 <p>It's possible to set "testcontrol.stop_container" to "false" (via the std. DeltaSpike config). With that the CDI-Container will be started just once for all tests.</p>
 <h1 id="hints">Hints</h1>
 <p>Don't forget to add a beans.xml in the test-module (e.g. src/test/resources/META-INF/beans.xml).</p>
+<h1 id="optional-integrations">Optional Integrations</h1>
+<h2 id="jsf-via-myfaces-test">JSF (via MyFaces-Test)</h2>
+<p>add:</p>
+<p>org.apache.deltaspike.testcontrol.impl.jsf.MockedJsf2TestContainer</p>
+<p>to</p>
+<p>/META-INF/services/org.apache.deltaspike.testcontrol.spi.ExternalContainer</p>
+<p>(in your config-folder for tests e.g.: test/resources)</p>
 <h1 id="spi">SPI</h1>
+<h2 id="externalcontainer">ExternalContainer</h2>
+<p>org.apache.deltaspike.testcontrol.spi.ExternalContainer allows to integrate containers which get started after the CDI container.
+Currently DeltaSpike provides:</p>
+<ul>
+<li>MockedJsf2TestContainer (integration with MyFaces-Test)</li>
+</ul>
 <p>[TODO]</p>
           </div>
       </div>