Michael Van Canneyt wrote: >>Where can I find it? >> >> > >It's included with FPC by default. Sources are in fcl/fpcunit. >Just include fpcunit in your source. See the examples for a console demo. > >Lazarus has a special package that allows you to create either a GUI or >a console test application. Compile and install lazfpcunit (or fpcunitlaz ?) > > to be more precise: the Lazarus package is in lazarus/components/fpcunit To install it you have to compile the package fpcunittestrunner.lpk and install the package lazarus/components/fpcunit/ide/fpcunitide.lpk
Then you can create a new unit test application with the menu: File>New>Project>FPCUnit Application (or FPCUnit Console application) You can add a new test case template by selecting File>New>File>FPCUnit TestCase Dean _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal