joost 90a6bdcdd4 * Implemented the sqEscapeSlash and sqescapeRepeat connection options 19 vuotta sitten
..
Makefile 3a46ab06a3 * symbian support 19 vuotta sitten
Makefile.fpc 396eca2908 + initial implementation of DB Unit Tests 20 vuotta sitten
README.txt 985043e871 + Added a README and some examples do database.ini 19 vuotta sitten
database.ini 985043e871 + Added a README and some examples do database.ini 19 vuotta sitten
dbftoolsunit.pas 0cab61a2e0 * restructured the test-suite 19 vuotta sitten
dbtestframework.pas 985043e871 + Added a README and some examples do database.ini 19 vuotta sitten
memdstoolsunit.pas 0cab61a2e0 * restructured the test-suite 19 vuotta sitten
sqldbtoolsunit.pas 0cab61a2e0 * restructured the test-suite 19 vuotta sitten
testbasics.pas 90a6bdcdd4 * Implemented the sqEscapeSlash and sqescapeRepeat connection options 19 vuotta sitten
testdbbasics.pas e8707ad4b8 * added tests for filtering and null-valued fields 19 vuotta sitten
testsqlfieldtypes.pas 90a6bdcdd4 * Implemented the sqEscapeSlash and sqescapeRepeat connection options 19 vuotta sitten
toolsunit.pas 0cab61a2e0 * restructured the test-suite 19 vuotta sitten

README.txt

This directory contains a framework to test several TDataset descendents.

The framework is based on the fpcunit unit-test system. The tests can be
executed using any fpcunit-testrunner. For example the console and graphical
fpcunit-test runners from Lazarus.
Simply add the test* units in this directory to the uses statement of the
test-runner and all tests will get registered and executed.

An simple test-runner (dbtestframework.pas) which generates XML-output is
included in this directory.

To test a TDataset descendent, a 'connector' is needed to test the database.
To add a new connector, add it to the uses-section in 'toolsunit.pas'. Several
connectors are available in the '*toolsunit.pas' files.

Which connector is currently used is dependent on the 'database.ini'
configuration file. Also some settings which are connector-dependent can be set
in that file. See 'database.ini' for more information.

I hope this is enough information to get you started,

Joost van der Sluis (30-12-2006)