X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;ds=sidebyside;f=tests%2FREADME;h=d7418a3c2e0597f96d83de4e62c4ca6d9212eaef;hb=595658021ebaf450894bb143a346e409b55e02af;hp=c20387ab300b9b9c316d6c423093c4e23e3e8fd9;hpb=c4ffac239e4910bff542dadf3212ad95803af64e;p=clsql.git diff --git a/tests/README b/tests/README index c20387a..d7418a3 100644 --- a/tests/README +++ b/tests/README @@ -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