testdbwriter /

Filename Size Date modified Message
dbtests2db
sampledbwriter
49 B
Added tag default for changeset 354d10c7556c
1.0 KB
Fixing Firebird embedded creation (in progress). Drop 2.6.0 compatibility (UTCtime); updated readmes
2.5 KB
Fixing Firebird embedded creation (in progress). Drop 2.6.0 compatibility (UTCtime); updated readmes
50.6 KB
Fix results count view and regression view to include ignored tests in ok results. Eliminates false regressions
52 B
Forgot resource file
20.2 KB
Fix results count view and regression view to include ignored tests in ok results. Eliminates false regressions
20.5 KB
Cosmetic: Unix=>Windows line endings
7.5 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.
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.