joost c3112bd7cb * Reverted accidently committed files in r12278 17 роки тому
..
Makefile e5db5e4aa8 * regened makefiles to propagate makefile versions 17 роки тому
Makefile.fpc 38b265f60f * Add ability to test TSdfDataset 17 роки тому
README.txt f21b7b6bd9 * Updated readme and database.ini 18 роки тому
database.ini.txt 7a50d545f7 * Renamed database.ini to database.ini.txt 18 роки тому
dbftoolsunit.pas e0593d7e6a * Test for CalculateFields 17 роки тому
dbtestframework.pas c3112bd7cb * Reverted accidently committed files in r12278 17 роки тому
memdstoolsunit.pas 5b8dd4c004 * move fcl sources to separate packages 18 роки тому
sdfdstoolsunit.pas 38b265f60f * Add ability to test TSdfDataset 17 роки тому
sqldbtoolsunit.pas 2425eb4721 * Use variable instead of hardcoded tablename 17 роки тому
testbasics.pas a53a234189 * Raise exception if TFieldDef with existing name is added to TFieldDefs + test 17 роки тому
testdatasources.pas 1da7000192 * Added test for CalcLookupValue 17 роки тому
testdbbasics.pas c3112bd7cb * Reverted accidently committed files in r12278 17 роки тому
testdddiff.pp c2dc42bb89 * test for Data dictionary diff mechanism 17 роки тому
testfieldtypes.pas 27e3bc5240 * Ignore TestParametersAndDates for sqlite since it uses a semicolon as a cast, which is not supported by sqlite 17 роки тому
testsqlscript.pas cc0c2d6467 * SqlScript committed 17 роки тому
toolsunit.pas b593bf17bf * Do not load the connectors in toolsunit, but in the test program 17 роки тому

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)