Re: [fpc-pascal] Getting fpcunit test results into a database

2012-09-28 Thread Graeme Geldenhuys
On 2012-09-28 10:25, Reinier Olislagers wrote: > > Ah, Listeners thanks. Is this listener concept something that's > common to more xunit frameworks (junit... etc) or is it an fpcunit > invention? I think the idea came from DUnit, though FPCUnit was heavily based on the JUnit design. DUnit2 a

Re: [fpc-pascal] Getting fpcunit test results into a database

2012-09-28 Thread michael . vancanneyt
On Fri, 28 Sep 2012, Reinier Olislagers wrote: On 28-9-2012 10:43, Graeme Geldenhuys wrote: On 2012-09-28 09:18, Reinier Olislagers wrote: Is there existing code available for getting fpcunit test results into a database? No, but the Test Listener interface makes such an addition very eas

Re: [fpc-pascal] Getting fpcunit test results into a database

2012-09-28 Thread Reinier Olislagers
On 28-9-2012 10:43, Graeme Geldenhuys wrote: > On 2012-09-28 09:18, Reinier Olislagers wrote: >> >> Is there existing code available for getting fpcunit test results into a >> database? > > No, but the Test Listener interface makes such an addition very easy. > > Simply create a TDatabaseListener

Re: [fpc-pascal] Getting fpcunit test results into a database

2012-09-28 Thread Graeme Geldenhuys
On 2012-09-28 09:18, Reinier Olislagers wrote: > > Is there existing code available for getting fpcunit test results into a > database? No, but the Test Listener interface makes such an addition very easy. Simply create a TDatabaseListener that implements the ITestListener interface. It's only 5

Re: [fpc-pascal] Getting fpcunit test results into a database

2012-09-28 Thread michael . vancanneyt
On Fri, 28 Sep 2012, Reinier Olislagers wrote: Hi list, Is there existing code available for getting fpcunit test results into a database? Otherwise I'm thinking of writing an XML importer that gets the test results and imports them into a database... handy for regression testing, I'd think.

[fpc-pascal] Getting fpcunit test results into a database

2012-09-28 Thread Reinier Olislagers
Hi list, Is there existing code available for getting fpcunit test results into a database? Otherwise I'm thinking of writing an XML importer that gets the test results and imports them into a database... handy for regression testing, I'd think. Looking at the XML, that wouldn't be too difficult.