[teiid-commits] teiid SVN: r1464 - trunk/test-integration/db.

teiid-commits at lists.jboss.org teiid-commits at lists.jboss.org
Wed Sep 23 10:35:41 EDT 2009


Author: vhalbert at redhat.com
Date: 2009-09-23 10:35:41 -0400 (Wed, 23 Sep 2009)
New Revision: 1464

Modified:
   trunk/test-integration/db/howto
Log:
Teiid 773 - update howto

Modified: trunk/test-integration/db/howto
===================================================================
--- trunk/test-integration/db/howto	2009-09-23 14:08:07 UTC (rev 1463)
+++ trunk/test-integration/db/howto	2009-09-23 14:35:41 UTC (rev 1464)
@@ -38,21 +38,30 @@
 
 2.	CREATE TABLES
 	To create the tables on the defined datasource, run the maven profile to execute the process to create the required tables:
-		a.  to setup all sources at one time, run:   mvn pre-integration-test -P setupdatasources -Dmaven.test.skip=true
-		b.	to setup a specific source, run: mvn pre-integration-test -Ddatasource=<datasourcedir> -Psingledatasource -Dmaven.test.skip=true 
+		a.  to setup all sources at one time, run:   
+				mvn pre-integration-test -P setupdatasources -Dmaven.test.skip=true
+		b.	to setup a specific source, 
+				run: mvn pre-integration-test -Ddatasource=<datasourcedir> -Psingledatasource -Dmaven.test.skip=true 
 				where <datasourcedir> is the name of the directory for the datasource
-
-
+				
+				
+				Example:
 		
+					mvn pre-integration-test -Ddatasource=oracle -Psingledatasource -Dmaven.test.skip=true 
 
 ==========================================
 Executing the db integration tests
 ==========================================
 
-The default profile in the pom.xml is set to compile and run the test.   So running:  mvn install
-will run the test.  
-It will not setup a datasource.   See above "Setting up a Datasource to be used during Testing".
+The default profile in the pom.xml is set to compile and run the test.   The following are options for running tests:
 
+	a.	Run with no regard to which specific datasource to use (only those with connections.properties file are considered):  
+			run:	mvn install
+	b.	To run the tests, but specify which datasource(s) to use:
+			run:	mvn clean install -Dusedatasources=<comma seperated datasource names>
+			Example:  mvn clean install -Dusedatasources=oracle,sqlserver
+			
 
 
+
  
\ No newline at end of file



More information about the teiid-commits mailing list