[fpc-devel] Base64 decoding stream in the FCL
Dean Zobec
dean.zobec at gmail.com
Mon Feb 12 21:48:32 CET 2007
>>> 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
Dean
More information about the fpc-devel
mailing list