joost fae64a5be5 --- Merging r14492 into '.': vor 15 Jahren
..
Makefile e246cac3ac * regenerated using latest fpcmake vor 16 Jahren
Makefile.fpc 38b265f60f * Add ability to test TSdfDataset vor 17 Jahren
README.txt f21b7b6bd9 * Updated readme and database.ini vor 18 Jahren
database.ini.txt 0a7b499443 * Added sqlite3-test configuration example vor 17 Jahren
dbftoolsunit.pas fae64a5be5 --- Merging r14492 into '.': vor 15 Jahren
dbtestframework.pas 204de0d4cf * Added tests for update-buffers and streaming vor 16 Jahren
memdstoolsunit.pas 5b8dd4c004 * move fcl sources to separate packages vor 18 Jahren
sdfdstoolsunit.pas 38b265f60f * Add ability to test TSdfDataset vor 17 Jahren
sqldbtoolsunit.pas 2425eb4721 * Use variable instead of hardcoded tablename vor 17 Jahren
testbasics.pas 7613f3eb5f * Fixed AV when TFieldDefs has dataset assigned. (+test) vor 16 Jahren
testbufdatasetstreams.pas d32c60f746 --- Merging r14787 into '.': vor 15 Jahren
testdatasources.pas 1da7000192 * Added test for CalcLookupValue vor 17 Jahren
testdbbasics.pas fae64a5be5 --- Merging r14492 into '.': vor 15 Jahren
testdddiff.pp c2dc42bb89 * test for Data dictionary diff mechanism vor 17 Jahren
testfieldtypes.pas fae64a5be5 --- Merging r14492 into '.': vor 15 Jahren
testsqlscript.pas cc0c2d6467 * SqlScript committed vor 17 Jahren
toolsunit.pas fae64a5be5 --- Merging r14492 into '.': vor 15 Jahren

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.txt' for an example.

I hope this is enough information to get you started,

Joost van der Sluis (30-12-2006)