testdbwriter /

Filename Size Date modified Message
dbtests2db
sampledbwriter
49 B
Added tag default for changeset 354d10c7556c
1.1 KB
Csometic
2.6 KB
Fixing Firebird embedded creation (in progress). Drop 2.6.0 compatibility (UTCtime); updated readmes
52.0 KB
Work around buggy TSQLScript (still present in trunk)
52 B
Forgot resource file
21.1 KB
Csometic
21.0 KB
Cosmetic: Unix=>Windows line endings
7.7 KB
Postgresql: added testsuitesflat/flat/flatsorted/ views
This code is meant to output fpcunit test results into a normalized database. 

This should allow:
- regression testing
- high volume storage (e.g. storing output from daily builds)

Currently, an fpcunit listener exists that outputs test results to the database 
as they are run.

Please copy testdbwriter.ini.txt to testdbwriter.ini in your project directory 
and adjust to the database you want to store your results in.
Please see the unit testdbwriter for more details.

Examples/useful code in the following directories:
- sampledbwriter: small sample that runs some tests and demonstrates how to work
  with testdbwriter.
- dbtests2db: console test runner that can be placed in the 
  $(fpcdir)\packages\fcl-db\tests\ directory to run the dbtestframework tests 
	and output the results to another database. Useful for regression testing the
	database tests.

In future, additional adapters may be written that take e.g. XML output and 
import it into the database, which is handy when diagnosing e.g. remote customer 
trouble reports.