微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

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

我是新手使用和编写单元测试,但我已经确信他们可以帮助我编写更好的代码并最终节省我的时间.据我所知,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.

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐