r8851: more integration
[clsql.git] / tests / README
index c20387ab300b9b9c316d6c423093c4e23e3e8fd9..d7418a3c2e0597f96d83de4e62c4ca6d9212eaef 100644 (file)
@@ -1,3 +1,29 @@
+* RUNNING THE REGRESSION SUITE
+
+Just load clsql.asd or put it somewhere where ASDF can find it
+and call:
+
+(asdf:oos 'asdf:load-op 'clsql)
+
+You'll then need to load a CLSQL backend before you can do anything. 
+
+To run the regression tests load clsql-tests.asd or put it
+somewhere where ASDF can find it, edit the file tests/test-init.lisp
+and set the following variables to appropriate values:
+
+    *test-database-server*
+    *test-database-name*
+    *test-database-user*
+    *test-database-password* 
+
+And then call:
+
+(asdf:oos 'asdf:load-op 'clsql-tests)
+(clsql-tests:test-usql BACKEND)
+
+where BACKEND is the CLSQL database interface to use (currently one of
+:postgresql, :postgresql-socket, :sqlite or :mysql).
+
 * REGRESSION TEST SUITE GOALS
 
 The intent of this test suite is to provide sufficient coverage for
@@ -107,4 +133,4 @@ will be run.
   *** Object Create/Modification/Deletion in a context -- partly covered already
   *** Interaction of multiple contexts
   *** Schema manipulation within a context
-  *** Rollback and error handling within a context
\ No newline at end of file
+  *** Rollback and error handling within a context