gora-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r922030 - in /websites/staging/gora/trunk/content: ./ current/index.html
Date Sat, 13 Sep 2014 04:17:47 GMT
Author: buildbot
Date: Sat Sep 13 04:17:47 2014
New Revision: 922030

Staging update by buildbot for gora

    websites/staging/gora/trunk/content/   (props changed)

Propchange: websites/staging/gora/trunk/content/
--- cms:source-revision (original)
+++ cms:source-revision Sat Sep 13 04:17:47 2014
@@ -1 +1 @@

Modified: websites/staging/gora/trunk/content/current/index.html
--- websites/staging/gora/trunk/content/current/index.html (original)
+++ websites/staging/gora/trunk/content/current/index.html Sat Sep 13 04:17:47 2014
@@ -157,6 +157,17 @@ under the License. 
   <div class="container" id="Gora_Gora Module Overview">
 <h2 id="introduction">Introduction</h2>
+<div class="toc">
+<li><a href="#introduction">Introduction</a></li>
+<li><a href="#gora-modules">Gora Modules</a></li>
+<li><a href="#gora-testing">Gora Testing</a><ul>
+<li><a href="#junit-tests">JUnit Tests</a></li>
+<li><a href="#goraci-integration-testsing-suite">GoraCI Integration Testsing
 <p>This is the main entry point for Gora documentation. Here are some pointers for
further info:</p>
 <li>First if you haven't already done so, make sure to check the <a href="./quickstart.html">quick
start guide</a>.</li>
@@ -187,6 +198,25 @@ following modules are currently implemen
 <li><a href="./gora-mongodb.html">gora-mongodb</a>: Module for <a href="http://www.mongodb.org/">MongoDB</a>
backend and MongoStore implementation;</li>
 <p>We currently have modules under development for <a href="http://www.oracle.com/technetwork/database/database-technologies/nosqldb/overview/index.html">Oracle
NoSQL</a> and <a href="http://lucene.apache.org">Apache Lucene</a>.</p>
+<h2 id="gora-testing">Gora Testing</h2>
+<p>Gora currently has two testing mechanisms
+ * JUnit Tests: These are included for every module which provides a DataStore within Gora.
+ * Integration Tests: A custom testing suite called GoraCI (Continuous Ingestion) which stress
tests Gora functionality at scale.</p>
+<h3 id="junit-tests">JUnit Tests</h3>
+<p>Unit tests in Gora are implemented using the popular <a href="http://junit.org">JUnit</a>
+Each module which implements the <a href="https://builds.apache.org/view/All/job/gora-trunk/javadoc/index.html?org/apache/gora/store/DataStore.html">DataStore</a>
+interface similarly implements a <a href="https://github.com/apache/gora/blob/master/gora-core/src/test/java/org/apache/gora/store/DataStoreTestBase.java">DataStoreTestBase</a>
+which test utilities for DataStores. The DataStoreTestBase class delegates actual test execution
+to <a href="https://github.com/apache/gora/blob/master/gora-core/src/test/java/org/apache/gora/store/DataStoreTestUtil.java">DataStoreTestUtil</a>.
+<p>The tests begin in a fairly trivial fashion testing functionality like datastore
schema creation 
+schema deletion, etc and continue in this manner getting progressively more complex 
+as we begin testing some more advanced features within the Gora API. 
+In addition to the unit tests contained within this class, the best place to look for
+API functionality is at the examples directories under various Gora modules. Most 
+modules contain a <code>/src/examples/</code> directory under which some example

+classes can be found. Specifically, there are some classes that are used for tests 
+under <a href="https://github.com/apache/gora/tree/master/gora-core/src/examples">gora-core/src/examples/</a>.</p>
+<h3 id="goraci-integration-testsing-suite">GoraCI Integration Testsing Suite</h3>
   </div> <!-- /container (main block) -->

View raw message