README.txt 1006 B

1234567891011121314151617181920212223242526
  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, add it to the uses-section in 'toolsunit.pas'. Several
  11. connectors are available in the '*toolsunit.pas' files.
  12. Which connector is currently used is dependent on the 'database.ini'
  13. configuration file. Also some settings which are connector-dependent can be set
  14. in that file. See 'database.ini.txt' for an example.
  15. I hope this is enough information to get you started,
  16. Joost van der Sluis (30-12-2006)