X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=tests%2FREADME;h=aa5bae145db2ba96efe86a819912a3e5fbd0bbec;hb=5148be446aee32ec705beac3fbba35f499df4fd4;hp=51876c19c1932074c0fda8a0f1c783bd786217b4;hpb=5a6f424f3c8920f8f11bbf1e3aed6b4c2c7e6af8;p=clsql.git diff --git a/tests/README b/tests/README index 51876c1..aa5bae1 100644 --- a/tests/README +++ b/tests/README @@ -1,28 +1,21 @@ * 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. +This test suite looks for a configuration file named +".clsql-test.config" located in the users home directory. This file +contains a single assoc-list that specifies the connection specs for +each database type to be tested. There is an example file in +contained in CLSQL's examples directory. -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: +These tests require the downloading of the rtest and ptester packages +from http://files.b9.com/. - *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