Tests, stress-test and performance-tests for Common Lisp object-databases and persistence libraries.
Why?
a set of test cases that work against the same data
an implementation of a circuit for a database/persistence solution
In theory, if you got all dependencies in place and were lucky:
(asdf:operate 'asdf:load-op :grand-prix) (asdf:operate 'asdf:load-op :grand-prix-rucksack) ;; If you have rucksack (asdf:operate 'asdf:load-op :grand-prix-elephant) ;; If you have grand-prix (asdf:operate 'asdf:load-op :grand-prix-perec) ;; If you have cl-perec (grand-prix:run-grand-prix)
Sample code is in boavista-sample.lisp
If you looked the sample code doc/boavista.lisp you see that a boavista-driver needs to implement five methods.
So, if you are implementing it for one of the provided backends, for example elephant, add a file elephant-boavista-driver.lisp to drivers/elephant.
Add the lisp file to the asd file in /drivers/elephant.
In the new elephant-boavista-driver.lisp file, create an empty class elephant-boavista that inherits boavista-driver.
Now implement all methods for the elephant-boavista class. make-clean-db, add-person, export-db, import-to-new-db and query-all-persons-name-and-age.
To register the driver class when loaded, add this form:
(grand-prix:register-driver-class 'elephant-boavista-driver)
Darcs record, darcs send or push.