myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hno...@apache.org
Subject svn commit: r1796048 - in /myfaces/tobago/trunk: src/site/fml/faq.fml tobago-example/tobago-example-demo/pom.xml
Date Wed, 24 May 2017 12:29:27 GMT
Author: hnoeth
Date: Wed May 24 12:29:27 2017
New Revision: 1796048

URL: http://svn.apache.org/viewvc?rev=1796048&view=rev
Log:
update site & tobago-example-demo-pom
* add 'how to run tests' answer to site
* add 'how to run tests' comment to tobago-example-demo-pom

Modified:
    myfaces/tobago/trunk/src/site/fml/faq.fml
    myfaces/tobago/trunk/tobago-example/tobago-example-demo/pom.xml

Modified: myfaces/tobago/trunk/src/site/fml/faq.fml
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/src/site/fml/faq.fml?rev=1796048&r1=1796047&r2=1796048&view=diff
==============================================================================
--- myfaces/tobago/trunk/src/site/fml/faq.fml (original)
+++ myfaces/tobago/trunk/src/site/fml/faq.fml Wed May 24 12:29:27 2017
@@ -391,6 +391,24 @@ mvn verify -Pqunit-integration-tests</so
           After that, you can start the test from the QUnitTests class.</p>
       </answer>
     </faq>
+    <faq id="testInBrowser">
+      <question>How can I run tests in the browser? (Tobago 3)</question>
+      <answer>
+        <ol>
+          <li>start demo
+            <source>cd tobago-example/tobago-example-demo
+mvn clean jetty:run</source>
+          </li>
+          <li>open 'Test' menu in the header of the Tobago-Demo-Page
+            <ol>
+              <li>'Run Test' is enabled if a test is available for the current page.</li>
+              <li>'Run all tests' is enabled if in development mode. (opens every test
in a separate iframe)</li>
+              <li>'Access all pages' is enabled if in development mode. (opens every
page in a separate iframe)</li>
+            </ol>
+          </li>
+        </ol>
+      </answer>
+    </faq>
     <faq id="liberty">
       <question>How can I run the Tobago demo with WebSphere Liberty Profile (WLP)
from Maven?</question>
       <answer>

Modified: myfaces/tobago/trunk/tobago-example/tobago-example-demo/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-demo/pom.xml?rev=1796048&r1=1796047&r2=1796048&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-demo/pom.xml (original)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-demo/pom.xml Wed May 24 12:29:27 2017
@@ -26,6 +26,10 @@
   <packaging>war</packaging>
   <name>Tobago Example Demo</name>
   <description>Demonstration and documentation application.</description>
+  <!-- how to run tests
+  http://myfaces.apache.org/tobago/faq.html#integrationTestTobago3
+  http://myfaces.apache.org/tobago/faq.html#testInBrowser
+  -->
 
   <properties>
     <openwebbeans.version>1.7.2</openwebbeans.version>



Mime
View raw message