joost 545c6b0d64 * Added support for ftDateTime fields 17 years ago
..
Makefile 9d8bee1887 * regenerated with changes in r11233 17 years ago
Makefile.fpc 011c8002b0 * Add paszlib dependency 17 years ago
README.txt f21b7b6bd9 * Updated readme and database.ini 18 years ago
database.ini.txt 7a50d545f7 * Renamed database.ini to database.ini.txt 18 years ago
dbftoolsunit.pas e0593d7e6a * Test for CalculateFields 17 years ago
dbtestframework.pas 971e54c113 * Reverted accidental commit in r10821 17 years ago
memdstoolsunit.pas 5b8dd4c004 * move fcl sources to separate packages 18 years ago
sqldbtoolsunit.pas 596f8f5bbb * Avoid second exception while handling the first 17 years ago
testbasics.pas a53a234189 * Raise exception if TFieldDef with existing name is added to TFieldDefs + test 17 years ago
testdatasources.pas 1da7000192 * Added test for CalcLookupValue 17 years ago
testdbbasics.pas 545c6b0d64 * Added support for ftDateTime fields 17 years ago
testfieldtypes.pas a53a234189 * Raise exception if TFieldDef with existing name is added to TFieldDefs + test 17 years ago
toolsunit.pas 596f8f5bbb * Avoid second exception while handling the first 17 years ago

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)