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

Graeme Geldenhuys graeme at geldenhuys.co.uk
Fri Sep 28 11:39:05 CEST 2012


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 and FPTest also use the listeners concept. In
fact the latter two uses interfaces a lot more than FPCUnit, making some
extensions much easier to implement.

I believe other xunit frameworks have similar ideas. Each test framework
seems to use the best [most suitable] features of the language in question.

eg: Object Pascal based test frameworks use published properties, C# and
Java uses class attributes etc to define test methods.

Regards,
  - Graeme -






More information about the fpc-pascal mailing list