[fpc-pascal] linked list to criticize

Graeme Geldenhuys graemeg.lists at gmail.com
Mon May 3 00:31:36 CEST 2010


2010/5/2 spir ☣ <denis.spir at gmail.com>:
> (There's an extensive intro text, and a test suite with output.)

Did you know FPC comes with a unit testing framework called fpcUnit?
  <fpc>/src/packages/fcl-fpcunit/src

Alternatively you can also use DUnit2 which I ported to Free Pascal a
while back, and has a bit more features and fixes than fpcUnit.
  http://github.com/graemeg/dunit2
To get a copy of the source code repository:
   git clone git://github.com/graemeg/dunit2.git
or click the "download source" link in top left corner.


Using a unit testing framework, it is usually much easier to structure
your tests, or even write your tests.


-- 
Regards,
  - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/



More information about the fpc-pascal mailing list