X-Git-Url: http://git.kpe.io/?p=clsql.git;a=blobdiff_plain;f=tests%2FREADME;fp=tests%2FREADME;h=f93cfa99081e7493a5095ed0b40831ab384f2d09;hp=51876c19c1932074c0fda8a0f1c783bd786217b4;hb=70227e5f0b76bb649fc6c1a478d7374953fd815b;hpb=41b951fca5ef48b594ca316cf1253b4d1192a045 diff --git a/tests/README b/tests/README index 51876c1..f93cfa9 100644 --- a/tests/README +++ b/tests/README @@ -1,28 +1,15 @@ * 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. +Create a .clsql-tests.config file in your home directory. +See test-init.lisp for the structure of the data. -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: +Load clsql.asd or put it somewhere where ASDF can find it +and call: -(asdf:oos 'asdf:load-op 'clsql-tests) -(clsql-tests:run-tests BACKEND) +(asdf:oos 'asdf:test-op 'clsql) -where BACKEND is the CLSQL database interface to use (currently one of -:postgresql, :postgresql-socket, :sqlite or :mysql). +The test suite will then automatically run on all of the backends that +you have defined in .clsql-tests.config * REGRESSION TEST SUITE GOALS