[Lazarus] FPCUnit IDE add-on to create unit tests

Michael Van Canneyt michael at freepascal.org
Fri Sep 11 18:16:11 CEST 2015



On Fri, 11 Sep 2015, Graeme Geldenhuys wrote:

> Hi,
>
> I noticed there is a fpcunit IDE add-on package include with Lazarus.
> Unfortunately it is extremely basic in functionality - it can only
> create a new empty test unit.
>
> Does anybody know of an add-on package that actually allows you to
> select a class, tick (select) which properties to test, and then in
> generates a test class and implements skeleton test methods for all
> those selected properties?  I believe (I could be wrong) this is how
> Delphi's DUnit integration works too.
>
> Something like that will be a huge time-saver I think.

See the 3.0.0 RC1 pas2ut : "pas 2 unit test"

it's in svn under utils.

I didn't manage to integrate it in lazarus yet.

Michael.




More information about the Lazarus mailing list