Author: buildbot
Date: Sat May  5 12:28:23 2012
New Revision: 815883

Log:
Staging update by buildbot for rave

Added:
    websites/staging/rave/trunk/content/integration-tests.html
Modified:
    websites/staging/rave/trunk/content/   (props changed)
    websites/staging/rave/trunk/content/source.html

Propchange: websites/staging/rave/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Sat May  5 12:28:23 2012
@@ -1 +1 @@
-1333594
+1334412

Added: websites/staging/rave/trunk/content/integration-tests.html
==============================================================================
--- websites/staging/rave/trunk/content/integration-tests.html (added)
+++ websites/staging/rave/trunk/content/integration-tests.html Sat May  5 
12:28:23 2012
@@ -0,0 +1,114 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
"http://www.w3.org/TR/html4/loose.dtd";>
+<html>
+<head>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE- 2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+-->
+  <link rel="shortcut icon" href="/images/RAVE-favicon.ico" 
type="image/x-icon" />
+  <link href="/css/rave.css" rel="stylesheet" type="text/css">
+  <title>Integration tests</title>
+  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+</head>
+
+<body>
+  <div id="banner">
+    <img id="logo" alt="Apache Rave" 
src="/images/RAVE-logo_main-logo-small.png"/>
+  </div>
+  
+  <div id="navigation">
+  <h1 id="general">General</h1>
+<ul>
+<li><a href="/index.html">About</a></li>
+<li><a href="/documentation/index.html">Documentation</a></li>
+<li><a href="/downloads.html">Downloads</a></li>
+<li><a href="/license.html">License</a></li>
+</ul>
+<h1 id="community">Community</h1>
+<ul>
+<li><a href="/get-involved.html">Get Involved</a></li>
+<li><a href="/mailing-lists.html">Mailing Lists</a></li>
+<li><a href="/people.html">People</a></li>
+<li><a href="http://wiki.apache.org/rave/";>Wiki</a></li>
+</ul>
+<h1 id="development">Development</h1>
+<ul>
+<li><a href="/source.html">Getting Started</a></li>
+<li><a href="/ide-settings-and-debugging.html">IDE Settings and 
debugging</a></li>
+<li><a href="/release-management.html">Release Management</a></li>
+<li><a href="/issue-management.html">Issue Tracker</a></li>
+<li><a href="https://builds.apache.org/hudson/view/M-R/view/Rave/";>Continuous 
Integration</a></li>
+<li><a href="https://analysis.apache.org/dashboard/index/58996";>Sonar 
Dashboard</a></li>
+<li><a href="/edit-website.html">Website</a></li>
+</ul>
+<h1 id="asf">ASF</h1>
+<ul>
+<li><a href="http://www.apache.org";>Apache Software Foundation</a></li>
+<li><a href="http://www.apache.org/foundation/thanks.html";>Thanks</a></li>
+<li><a href="http://www.apache.org/foundation/sponsorship.html";>Become a 
Sponsor</a></li>
+<li><a href="http://www.apache.org/security/";>Security</a></li>
+</ul>
+  </div>
+
+  <div id="content">
+    <h1 class="title">Integration tests</h1>
+    <p>Individual classes and methods should be covered with JUnit tests. In 
order to check the overall features of the Apache
+Rave project, integration tests are needed. For Apache Rave we use <a 
href="http://jbehave.org";>JBehave</a> to develop and run
+test stories. JBehave uses Selenium to start a browser session and perform the 
tests in the browser (Mozilla Firefox).</p>
+<h2 id="system-requirements">System requirements</h2>
+<ul>
+<li>Java 6 or up</li>
+<li><a href="http://maven.apache.org";>Maven 3</a></li>
+</ul>
+<p>Running the integration tests requires more memory than a normal build. It 
is recommended to raise the memory settings:</p>
+<div class="codehilite"><pre><span class="n">export</span> <span 
class="n">MAVEN_OPTS</span><span class="o">=</span><span 
class="s">&quot;-Xmx768m -XX:MaxPermSize=256m&quot;</span>
+</pre></div>
+
+
+<h2 id="run-all-tests">Run all tests</h2>
+<p>The integration tests can be triggered as integral part of the portal build 
from the <code>rave-project</code> directory:</p>
+<div class="codehilite"><pre><span class="n">mvn</span> <span 
class="o">-</span><span class="n">Pintegration</span><span 
class="o">-</span><span class="n">tests</span>
+</pre></div>
+
+
+<p>If you only want to run the integration tests without building the whole 
project execute from <code>rave-integration-tests</code>
+directory:</p>
+<div class="codehilite"><pre><span class="n">mvn</span> <span 
class="n">clean</span> <span class="n">integration</span><span 
class="o">-</span><span class="n">test</span>
+</pre></div>
+
+
+<p>Maven will delete the existing H2 database in <code>/tmp</code>, start up 
the portal, run all tests and then shut down the portal.</p>
+<h2 id="run-individual-test-stories">Run individual test stories</h2>
+<p>Individual stories that extend 
<code>org.apache.rave.integrationtests.stories.PortalStories</code> can be run 
as junit tests in
+your IDE.</p>
+<p>For individual stories Maven will not automatically start or stop the 
portal. You need a running portal on
+<code>http://localhost:8080/</code></p>
+  </div>
+
+  <div id="footer">
+    <div class="copyright">
+      <p>
+        Copyright &copy; 2012 The Apache Software Foundation, Licensed under
+        the <a href="http://www.apache.org/licenses/LICENSE-2.0";>Apache 
License, Version 2.0</a>.
+        <br />
+        Apache Rave, Apache, the Apache feather logo, and the Apache Rave 
project logos are trademarks of The Apache Software Foundation.
+        All other marks mentioned may be trademarks or registered trademarks 
of their respective owners.
+      </p>
+    </div>
+  </div>
+
+</body>
+</html>

Modified: websites/staging/rave/trunk/content/source.html
==============================================================================
--- websites/staging/rave/trunk/content/source.html (original)
+++ websites/staging/rave/trunk/content/source.html Sat May  5 12:28:23 2012
@@ -114,6 +114,7 @@ repository</a> in your web browser.</p>
 <li>canonical (this user has admin rights)</li>
 <li>john.doe</li>
 <li>jane.doe</li>
+<li>johnldap</li>
 <li>OpenID: http://rave2011.myopenid.com/ (password rave2011)</li>
 </ul>
 </li>
@@ -129,8 +130,12 @@ needed on general and global level.</p>
 
 
 <p>After check out, cd into rave-master-pom and invoke maven to install it 
using:</p>
-<div class="codehilite"><pre>  <span class="nv">$mvn</span> <span 
class="n">install</span>
+<div class="codehilite"><pre>  <span class="n">mvn</span> <span 
class="n">install</span>
 </pre></div>
+
+
+<h3 id="running-the-integration-tests">Running the integration tests</h3>
+<p>See the article about <a href="integration-tests.html">integration 
tests</a></p>
   </div>
 
   <div id="footer">


Reply via email to