2
0
joost 6f225effa9 * Makefiles for 2.1.4 18 жил өмнө
..
Makefile 6f225effa9 * Makefiles for 2.1.4 18 жил өмнө
Makefile.fpc b181daa021 Merged revisions 6718-6719,6733 via svnmerge from 19 жил өмнө
README.txt 5b8dd4c004 * move fcl sources to separate packages 19 жил өмнө
database.ini ae640df68e Merged revisions 7051,7056,7061 via svnmerge from 18 жил өмнө
dbftoolsunit.pas 5b8dd4c004 * move fcl sources to separate packages 19 жил өмнө
memdstoolsunit.pas 5b8dd4c004 * move fcl sources to separate packages 19 жил өмнө
sqldbtoolsunit.pas 5b8dd4c004 * move fcl sources to separate packages 19 жил өмнө
testbasics.pas 5b8dd4c004 * move fcl sources to separate packages 19 жил өмнө
testdbbasics.pas ae640df68e Merged revisions 7051,7056,7061 via svnmerge from 18 жил өмнө
testsqlfieldtypes.pas ae640df68e Merged revisions 7051,7056,7061 via svnmerge from 18 жил өмнө
toolsunit.pas 5b8dd4c004 * move fcl sources to separate packages 19 жил өмнө

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

I hope this is enough information to get you started,

Joost van der Sluis (30-12-2006)