marco e5db5e4aa8 * regened makefiles to propagate makefile versions %!s(int64=17) %!d(string=hai) anos
..
Makefile e5db5e4aa8 * regened makefiles to propagate makefile versions %!s(int64=17) %!d(string=hai) anos
Makefile.fpc 38b265f60f * Add ability to test TSdfDataset %!s(int64=17) %!d(string=hai) anos
README.txt f21b7b6bd9 * Updated readme and database.ini %!s(int64=18) %!d(string=hai) anos
database.ini.txt 7a50d545f7 * Renamed database.ini to database.ini.txt %!s(int64=18) %!d(string=hai) anos
dbftoolsunit.pas e0593d7e6a * Test for CalculateFields %!s(int64=17) %!d(string=hai) anos
dbtestframework.pas 971e54c113 * Reverted accidental commit in r10821 %!s(int64=17) %!d(string=hai) anos
memdstoolsunit.pas 5b8dd4c004 * move fcl sources to separate packages %!s(int64=18) %!d(string=hai) anos
sdfdstoolsunit.pas 38b265f60f * Add ability to test TSdfDataset %!s(int64=17) %!d(string=hai) anos
sqldbtoolsunit.pas 596f8f5bbb * Avoid second exception while handling the first %!s(int64=17) %!d(string=hai) anos
testbasics.pas a53a234189 * Raise exception if TFieldDef with existing name is added to TFieldDefs + test %!s(int64=17) %!d(string=hai) anos
testdatasources.pas 1da7000192 * Added test for CalcLookupValue %!s(int64=17) %!d(string=hai) anos
testdbbasics.pas 4087fd6888 * Implemented TBufDataset.CreateDataset %!s(int64=17) %!d(string=hai) anos
testdddiff.pp c2dc42bb89 * test for Data dictionary diff mechanism %!s(int64=17) %!d(string=hai) anos
testfieldtypes.pas 171193a675 * Fixed fixed-width char-parameters + test %!s(int64=17) %!d(string=hai) anos
testsqlscript.pas cc0c2d6467 * SqlScript committed %!s(int64=17) %!d(string=hai) anos
toolsunit.pas 171193a675 * Fixed fixed-width char-parameters + test %!s(int64=17) %!d(string=hai) anos

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)