Author: andygumbrecht
Date: Sun Sep 21 08:30:49 2014
New Revision: 1626540

URL: http://svn.apache.org/r1626540
Log:
More detail on Arquillian

Modified:
    tomee/site/trunk/content/arquillian-available-adapters.mdtext
    tomee/site/trunk/content/arquillian-getting-started.mdtext
    tomee/site/trunk/content/documentation.mdtext
    tomee/site/trunk/content/refcard/refcard.html

Modified: tomee/site/trunk/content/arquillian-available-adapters.mdtext
URL: 
http://svn.apache.org/viewvc/tomee/site/trunk/content/arquillian-available-adapters.mdtext?rev=1626540&r1=1626539&r2=1626540&view=diff
==============================================================================
--- tomee/site/trunk/content/arquillian-available-adapters.mdtext (original)
+++ tomee/site/trunk/content/arquillian-available-adapters.mdtext Sun Sep 21 
08:30:49 2014
@@ -1,8 +1,8 @@
 Title: TomEE and Arquillian
 
-Check out the [Getting started](arquillian-getting-started.html) page if you 
are not familiar with Arquillian.
+Check out the [Getting started](arquillian-getting-started.html) page if you 
are not at all familiar with Arquillian.
 
-All the Arquillian Adapters for TomEE support the following configuration 
options in the arquillian.xml:
+All the Arquillian Adapters for TomEE support the following configuration 
options in the **src/test/resources/arquillian.xml**:
 
     <container qualifier="tomee" default="true">
         <configuration>
@@ -11,7 +11,7 @@ All the Arquillian Adapters for TomEE su
         </configuration>
     </container>
 
-The above can also be set as system properties rather than via the 
arquillian.xml file.
+The above can also be set as system properties rather than via the 
**src/test/resources/arquillian.xml** file.
 
     <build>
       <plugins>
@@ -59,7 +59,7 @@ To use the TomEE Embedded Arquillian Ada
       <version>1.0.0</version>
     </dependency>
 
-As mentioned above the Embedded Adapter has the following properties which can 
be specified in the `arquillian.xml` file:
+As mentioned above the Embedded Adapter has the following properties which can 
be specified in the **src/test/resources/arquillian.xml** file:
 
  - `httpPort`
  - `stopPort`
@@ -119,7 +119,7 @@ The following shows a typical configurat
       </dependency>
     </dependencies>
 
-The Remote Adapter has the following properties which can be specified in the 
`arquillian.xml` file:
+The Remote Adapter has the following properties which can be specified in the 
**src/test/resources/arquillian.xml** file:
 
  - `httpPort`
  - `stopPort`

Modified: tomee/site/trunk/content/arquillian-getting-started.mdtext
URL: 
http://svn.apache.org/viewvc/tomee/site/trunk/content/arquillian-getting-started.mdtext?rev=1626540&r1=1626539&r2=1626540&view=diff
==============================================================================
--- tomee/site/trunk/content/arquillian-getting-started.mdtext (original)
+++ tomee/site/trunk/content/arquillian-getting-started.mdtext Sun Sep 21 
08:30:49 2014
@@ -2,17 +2,19 @@ Title: Getting started with Arquillian a
 
 Arquillian is a testing framework on top of JUnit (or TestNG if you prefer). 
It makes it easier to do integration tests in a managed environment (JEE 
environment here after).
 
-In an managed environment, it's usually quite difficult to do unit tests, 
cause most of the time you have to mock almost all the world. It's really time 
consuming and does not prevent to write integration tests to reflect the 
production environment. Hence, unit tests become pretty useless.
+We provide an embedded and remote adapter, see [the available 
adapters](arquillian-available-adapters.html) for more details.
+
+In a managed environment it is usually quite difficult to perform unit tests, 
due to the fact that most of the time you have to mock almost the entire 
environment. It is very time consuming and requires complicated integration 
tests that must reflect the production environment as best as possible. Unit 
tests lose their true value.
 
 JEE always got seen as an heavy technology, impossible to test and to use in 
development. OpenEJB always fight against that idea and proved that it's really 
possible.
 
-As David Blevins say:
-> "Don't blame EJBs (ie. Java EE) because your server isn't testable."
+As David Blevins said:
+> "Do not blame EJBs (ie. Java EE) because your server is not testable."
 
-With latest Java EE specifications (5 and especially 6), it becomes a reality. 
Arquillian typically adresses that area. It basically a framework that aims at 
helping managing server/container in an agnostic way. Arquillian is responsible 
for the lifecycle of the container (start, deploy, undeploy, stop, etc).
+With latest Java EE specifications (5 and especially 6), it becomes a reality. 
Arquillian typically addresses that area. It is basically a framework that aims 
at helping/managing the server/container in an agnostic way. Arquillian is 
responsible for the lifecycle of the container (start, deploy, undeploy, stop, 
etc).
 
-TomEE community heavily invested on that framework to prove it's really useful 
and can really help testing Java EE application. That's also an opportunity to 
get the most of TomEE (lightweight, fast, featureful, etc).
+TomEE community heavily invested on that framework to prove it's really useful 
and can really help testing Java EE application. That's also an opportunity to 
get the most out of TomEE (lightweight, fast, feature-rich, etc).
 
 {info
-See also [Arquillian.org](http://arquillian.org) for some great quickstart 
information on Arquillian itself.
+See [Arquillian.org](http://arquillian.org) for a great quick-start tutorial 
on Arquillian itself.
 }

Modified: tomee/site/trunk/content/documentation.mdtext
URL: 
http://svn.apache.org/viewvc/tomee/site/trunk/content/documentation.mdtext?rev=1626540&r1=1626539&r2=1626540&view=diff
==============================================================================
--- tomee/site/trunk/content/documentation.mdtext (original)
+++ tomee/site/trunk/content/documentation.mdtext Sun Sep 21 08:30:49 2014
@@ -19,6 +19,7 @@ You can also find us on IRC freenode.org
 [Deploying in TomEE](deploying-in-tomee.html)  
 [The 'tomee' webapp](tomee-webapp.html)  
 [Install TomEE using the drop-in WAR](installation-drop-in-war.html)  
+[TomEE Reference Card](refcard/refcard.html)  
 }
 {span-one-third
 ###Configuration

Modified: tomee/site/trunk/content/refcard/refcard.html
URL: 
http://svn.apache.org/viewvc/tomee/site/trunk/content/refcard/refcard.html?rev=1626540&r1=1626539&r2=1626540&view=diff
==============================================================================
--- tomee/site/trunk/content/refcard/refcard.html (original)
+++ tomee/site/trunk/content/refcard/refcard.html Sun Sep 21 08:30:49 2014
@@ -1343,6 +1343,13 @@ public class SimpleArquillianTest {
    &lt;property name="properties"&gt;
     # same as embedded case
    &lt;/property&gt;
+   
+   &lt;!-- Deployer config --&gt;
+   &lt;property name="deployerProperties"&gt;
+    # openejb.deployer.binaries.use=true
+    # openejb.deployer.forced.appId=[name]
+    # openejb.deployer.save-deployments=false
+   &lt;/property&gt;
   &lt;/configuration&gt;
  &lt;/container&gt;
 &lt;/arquillian&gt;</code></pre>


Reply via email to