README.txt 1.0 KB

123456789101112131415161718192021222324252627
  1. This directory contains a framework to test several TDataset descendents.
  2. The framework is based on the fpcunit unit-test system. The tests can be
  3. executed using any fpcunit-testrunner. For example the console and graphical
  4. fpcunit-test runners from Lazarus.
  5. Simply add the test* units in this directory to the uses statement of the
  6. test-runner and all tests will get registered and executed.
  7. An simple test-runner (dbtestframework.pas) which generates XML-output is
  8. included in this directory.
  9. To test a TDataset descendent, a 'connector' is needed to test the database.
  10. To add a new connector, create a new *toolsunit.pas file, then add it to
  11. the uses section in 'dbtestframework.pas'. Several connectors are available
  12. in the '*toolsunit.pas' files.
  13. Which connector is currently used is dependent on the 'database.ini'
  14. configuration file. Also some settings which are connector-dependent can be set
  15. in that file. See 'database.ini.txt' for an example.
  16. I hope this is enough information to get you started,
  17. Joost van der Sluis (30-12-2006)