加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 大数据 > 正文

在哪里可以找到将DUnit与Delphi 2007或更新版本一起使用的介绍?

发布时间:2020-12-15 09:46:47 所属栏目:大数据 来源:网络整理
导读:我是新手使用和编写单元测试,但我已经确信他们可以帮助我编写更好的代码并最终节省我的时间.据我所知,DUnit已经很好地集成到Delphi 2006和更新版本中. 有没有人知道用DUnit编写单元测试的任何好资源,可能还有一般的单元测试介绍? 我发现了一个resource from
我是新手使用和编写单元测试,但我已经确信他们可以帮助我编写更好的代码并最终节省我的时间.据我所知,DUnit已经很好地集成到Delphi 2006和更新版本中.

有没有人知道用DUnit编写单元测试的任何好资源,可能还有一般的单元测试介绍?

我发现了一个resource from Charlie Calvert,我一直在阅读,但我是一个有点动人的照片,我也希望看到任何与DUnit测试有关的视频(如果它们存在的话).任何帮助表示赞赏.

解决方法

频道E快速介绍:

http://channel-e.embarcadero.com/index.php?option=com_jvideodirect&x=1&v=gUNNLQi761kLo

编辑
以上链接不再是最新的. http://forms.embarcadero.com/DelphiUnitTesting2-12是一个关于单元测试的网络研讨会.描述:

RAD in Action: Unit Testing in Delphi Featuring Nick Hodges

Watch Now

Join Embarcadero and Delphi programming expert and author,Nick
Hodges,for an in-depth look at unit testing in Delphi.

Without unit tests your code is fragile,hard to change,and
unreliable. Unit testing is the only way that you can be sure that
your code does what it is supposed to do.

In this webinar,Nick discusses the basics of Unit Testing as well as
providing a demo that illustrates the points at hand using the new
DUnitX framework. This will lead to a discussion of stubs and mocks,
and the use of the DelphiMocks.

Topics covered include:

  • What is Unit Testing?
  • Why you should be doing Unit Testing
  • Proper unit testing techniques including covering the “middle of the plate”,the “outside corners” as well as checking exceptions
  • A specific use case or unit testing using a real world example

警告 – 视频超过2小时.您可以在此处直接访问:https://www.youtube.com/watch?v=SJsgLDjn5b4.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读