Author: gpetracek
Date: Sat Feb 8 08:29:38 2014
New Revision: 1565939
URL: http://svn.apache.org/r1565939
Log:
updated content
Modified:
deltaspike/site/trunk/content/test-control.mdtext
Modified: deltaspike/site/trunk/content/test-control.mdtext
URL:
http://svn.apache.org/viewvc/deltaspike/site/trunk/content/test-control.mdtext?rev=1565939&r1=1565938&r2=1565939&view=diff
==============================================================================
--- deltaspike/site/trunk/content/test-control.mdtext (original)
+++ deltaspike/site/trunk/content/test-control.mdtext Sat Feb 8 08:29:38 2014
@@ -105,6 +105,8 @@ Don't forget to add a beans.xml in the t
add:
org.apache.deltaspike.testcontrol.impl.jsf.MockedJsf2TestContainer
+or
+org.apache.deltaspike.testcontrol.impl.jsf.MockedJsfTestContainerAdapter
to
@@ -112,6 +114,20 @@ to
(in your config-folder for tests e.g.: test/resources)
+# Mixed Tests
+
+Usually you should have one kind of tests per test-module.
+However, if you need to add e.g. a test without an external-container to your
test-module which uses external-containers, you can annotate your test with:
+
+ :::java
+ @RunWith(CdiTestRunner.class)
+ @TestControl(startExternalContainers = false)
+ public class JsfContainerTest
+ {
+ //...
+ }
+
+
# SPI
## ExternalContainer