Skip to content

Unit Testing in Diamondback at Monday General Session

Michael Swindell demoed unit testing in Diamondback at Monday morning’s general session. Very slick. There’s nothing added that you can’t do already with DUnit or NUnit, but with Diamondback it’s much, much easier. Write your class, then complete a couple of wizards to create a corresponding test project and test suite. The IDE generates the testing framework for you, and you just fill in the code for the tests themselves. You can run the tests within the IDE. This feature should significantly increase the use of unit testing in the Delphi community.

{ 2 } Comments

  1. Erwien Saputra | September 13, 2004 at 8:00 pm | Permalink

    What test framework does Diamondback use? Does it use NUnit, DUnit, configurable, or other/Borland’s own unit test framework?

    Thanks for great posts, Craig.

  2. Craig Stuntz | September 14, 2004 at 2:19 am | Permalink

    NUnit for .NET, DUnit for Win32. You could add your own as an OTA, but I think the wizards and code generators are product-specific.

Post a Comment

Your email is never published nor shared. Required fields are marked *

Bad Behavior has blocked 1846 access attempts in the last 7 days.

Close