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.
-
RSS Links
Categories
-
Recent Comments
- Craig Stuntz’s Weblog : The Strange Story of Erlang’s Success on "Let It Crash" Programming
- Craig Stuntz’s Weblog : Lightweight Frameworks, Again on Lightweight Frameworks
- Craig Stuntz on LINQ to SQL : Entity Framework :: WinForms : WPF
- tcmaster on LINQ to SQL : Entity Framework :: WinForms : WPF
- Giel on My CodeRage Presentation: Functional Programming in Delphi 2009
-
{ 2 } Comments
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.
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