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 - _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal