[lazarus] dunit for testing
Curtis White
cwhite at aracnet.com
Wed Mar 28 00:55:04 EST 2001
OK, I found the DUnit project on SourceForge. But wow, it is going to
take some significant work to convert it to FPC since it uses Interfaces
of IUnknown. So it would take almost a complete rewrite for FPC. I think
this can wait until FPC supports interfaces.
It is interesting, though, that they have an implementation of DUnit for
Kylix.
BTW, Interfaces are a really nice feature to have. I look forward to
being able to use them in FPC. Anyone know when the FPC team expects to
have them implemented?
Curtis
Curtis White wrote:
>
> Were do we find this dunit?
>
> I do a lot of Java development and we use a unit testing package called
> JUnit to do unit testing (part of extreme programming). It works very
> well and really speeds development. Once the unit test is setup (usually
> before the unit is actually coded), any changes to anything else in the
> framework (LCL or Lazarus in our case) can be tested immediately to
> ensure nothing was broken in that unit. This is REALLY helpful in making
> sure that your changes don't break anything else.
>
> If this dunit is similar (I assume it is the same thing except for
> Delphi), then we should really start using it (or a conversion of it to
> FPC). It could really help us with testing changes to ensure we don't
> break something else in the LCL or Lazarus. I would be happy to look
> into converting it to FPC and start setting up the unit tests for the
> existing LCL units if someone can just point me to it.
>
> Curtis
>
> "Michael A. Hess" wrote:
> >
> > Barbini Uberto wrote:
> > >
> > > Have you considered to use an automatic testing tool like dunit?
> >
> > Interesting tool. I had not heard of it prior to your email.
> >
> > However it would require that the tool be rewritten/modified so that it
> > could be built with FPC and the LCL. If someone would like to take on
> > that task that would be great but for now we have enough work just
> > finishing the LCL and the IDE itself. :-)
> >
> > --
> > ==== Programming my first best destiny! ====
> >
> > Michael A. Hess Miracle Concepts, Inc.
> > mhess at miraclec.com http://www.miraclec.com
> >
>
More information about the Lazarus
mailing list