joost e0593d7e6a * Test for CalculateFields 17 년 전
..
Makefile 011c8002b0 * Add paszlib dependency 17 년 전
Makefile.fpc 011c8002b0 * Add paszlib dependency 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 년 전
memdstoolsunit.pas 5b8dd4c004 * move fcl sources to separate packages 18 년 전
sqldbtoolsunit.pas 2cc3f2ebf3 * Fixed mysql ftLargeIntField + enabled test 17 년 전
testbasics.pas af564e4da5 * Fix+test bug #10345 17 년 전
testdatasources.pas e0593d7e6a * Test for CalculateFields 17 년 전
testdbbasics.pas bf5bba3f0e * Tests for Set- and GetFieldValues 17 년 전
testfieldtypes.pas 5703e7d8da * Some refactoring and added TestSetBlobAsBlobParam 17 년 전
toolsunit.pas 9f118aca02 * Added forgotten unit 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)