[fpc-devel] Base64 decoding stream in the FCL

Bram Kuijvenhoven kuifwaremailinglists at xs4all.nl
Mon Feb 12 23:19:11 CET 2007


Dean Zobec wrote:
>>>> If you test it, please try adding tests in fpcunit format.
>>> What would be a good starting point to learn about how to use fpcunit? (I
>>> haven't used it before)
>> The sources and examples :-)
> 
> In particular the fcl/fpcunit/exampletests/moneytest.pp testing the
> money.pp example classes is a translation of the original JUnit examples
> from Kent Beck and Erich Gamma, found in the original paper about unit
> testing, JUnit Test Infected: Programmers Love Writing Tests :
> http://junit.sourceforge.net/doc/testinfected/testing.htm
> 
> And if you have particular questions you can ask :)
> 
>> I once wrote an article about it (for beginners) if you want I can send it
>> to you.
> It's still here: http://www.freepascal.org/docs-html/fpcunit.pdf

Thank you for all the information, Dean, this is an excellent starting point to unit testing and FPCUnit.

Regards,

Bram



More information about the fpc-devel mailing list