fpc/packages/fcl-db/tests
joost f2c81869a1 * Renamed too long testnames to shorter ones
* Added TestSetBlobAsStringParam and TestSetBlobAsMemoParam tests
 * Fixed TestpfInUpdateFlag test

git-svn-id: trunk@7051 -
2007-04-01 15:18:21 +00:00
..
database.ini * Renamed too long testnames to shorter ones 2007-04-01 15:18:21 +00:00
dbftoolsunit.pas * move fcl sources to separate packages 2007-02-25 21:02:26 +00:00
Makefile * Merged 2.3 branch changes: 2007-03-04 20:16:57 +00:00
Makefile.fpc * fixed fcl and fpcdir paths/dependencies 2007-03-04 19:59:42 +00:00
memdstoolsunit.pas * move fcl sources to separate packages 2007-02-25 21:02:26 +00:00
README.txt * move fcl sources to separate packages 2007-02-25 21:02:26 +00:00
sqldbtoolsunit.pas * move fcl sources to separate packages 2007-02-25 21:02:26 +00:00
testbasics.pas * move fcl sources to separate packages 2007-02-25 21:02:26 +00:00
testdbbasics.pas * Renamed too long testnames to shorter ones 2007-04-01 15:18:21 +00:00
testsqlfieldtypes.pas * Renamed too long testnames to shorter ones 2007-04-01 15:18:21 +00:00
toolsunit.pas * Fixed wrong commit in r6789 2007-03-11 19:53:17 +00:00

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' for more information.

I hope this is enough information to get you started,

Joost van der Sluis (30-12-2006)