Search code examples
delphiunit-testingdelphi-7delphi-2006

Unit testing in Delphi - how are you doing it?


I'm wondering how the few Delphi Programming users here are doing unit testing, if any? Is there anything that integrates with the Delphi IDE that you've found works well? If not, what tools are you using and do you have or know of example mini-projects that demonstrate how it all works?

Update:

I forgot to mention that I'm using Borland Developer Studio 2006 Pro, though I occasionally drop into Delphi 7, and of course others may be using other versions.


Solution

  • DUnit is a xUnit type of unit testing framework to be used with win32 Delphi. Since Delphi 2005 DUnit is integrated to a certan point into the IDE. Other DUnit integration tools for the Delphi IDE can be found here. DUnit comes with documentation with examples.