Delphi 中的单元测试 - 你是怎么做的? [英] Unit testing in Delphi - how are you doing it?

查看:30
本文介绍了Delphi 中的单元测试 - 你是怎么做的?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道这里的少数 Delphi 用户是如何进行单元测试的(如果有的话)?是否有任何与您发现的 IDE 集成的东西运行良好?如果没有,您正在使用哪些工具,您是否拥有或知道展示其工作原理的示例迷你项目?

I'm wondering how the few Delphi users here are doing unit testing, if any? Is there anything that integrates with the 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?

我忘了说我使用的是 BDS 2006 Pro,虽然我偶尔会使用 Delphi 7,当然其他人可能会使用其他版本.

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

推荐答案

DUnit 是 xUnit 类型的单元与 win32 Delphi 一起使用的测试框架.由于 Delphi 2005 DUnit 已集成到 IDE 中的特定点.Delphi IDE 的其他 DUnit 集成工具可以在 这里.DUnit 附带文档和示例.

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.

这篇关于Delphi 中的单元测试 - 你是怎么做的?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆