[fpc-pascal] Re: New FPCUnit db results writer: testdbwriter: request for... testing
Reinier Olislagers
reinierolislagers at gmail.com
Fri Oct 19 16:52:52 CEST 2012
On 18-10-2012 13:51, Reinier Olislagers wrote:
> I've been working on a listener for FPCUnit that writes test results to
> a database.
<snip>
> I've also included a dbtestframework workalike (dbtests2db) with units
> that runs the FPC 2.6.1 r22717 database test framework; only plug in
> database.ini for the database test connection and testdbwriter.ini for
> the storage option (can be the same server, but different db) and go.
>
> I have tested it on Firebird, Firebird embedded and PostgreSQL.
Just got a working Jenkins setup documented on Debian x86 Linux [1].
Compiles FPC 2.6.1 and runs database tests against PostgreSQL and
Firebird using testdbwriter [2] mentioned above, writing test results -
including svn revision, platform and database tested - to another
Firebird database.
It is set up to track SVN every 20 minutes and compile if there are changes.
Next up: adding more dbs to be tested (at least mysql), looking at
removing the use of fpcup in the Jenkins build, as well as adding
queries to the testdbwriter to get e.g. failed tests, regressions
(including since which build they happened).
I might also have a look to see whether the fpcunit XML (the "second
version" that Graeme participated in) is accepted by Jenkins...
Currently fpc trunk fails to compile with stacktrace errors but that's
probably being worked on (I saw on the dev list it was fixed for SPARC)
[1] http://wiki.lazarus.freepascal.org/Jenkins
[2] https://bitbucket.org/reiniero/testdbwriter
More information about the fpc-pascal
mailing list