[fpc-pascal] unit testing framework for fpc
dezobec at tin.it
Mon Jun 27 21:56:52 CEST 2005
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
More information about the fpc-pascal