我应该阅读 TDD/DDD NAnt 开发的更新版本吗?

发布于 2024-10-20 02:39:27 字数 303 浏览 3 评论 0原文

我正在阅读关于 C# .NET 中的 NAnt 开发的本教程,它是在 2006 年编写的,所以我想知道是否有人知道我应该阅读更新的版本。

名为“使用 NAnt 自动化构建”的教程涵盖了使用单元测试、域驱动来设置项目开发、与 Visual Studio 集成等...

I'm reading this tutorial on NAnt development in C# .NET, it was written in 2006, so I'm wondering if anyone knew there is a more up-to-date version that I ought to read instead.

The tutorial called "Automating Your Builds With NAnt" covers setting up a project with unit testing, domain driven development, integration with Visual Studio etc...

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

抱猫软卧 2024-10-27 02:39:27

如果您的问题仅限于 NAnt,JP Boodhoo 的教程提供了有关如何快速提高 NAnt 环境生产力的精彩概述。别担心这是从 2006 年开始的,因为 NAnt 框架从那时起就没有发生太大变化。

如果您正在考虑使用更奇特的构建环境,那么您可能需要看看 Rakepsake 甚至 MSBuild (这更奇特吗?)。我们仍然使用 NAnt,因为它已被证明 100% 足以满足我们的需求。

如果您想要完成整个 TDD 工作,持续集成就是下一个要添加到您的构建环境中的事情。 CruiseControlCruiseControl.NETTeamCityHudson/Jenkins 都是不错的选择。它们要么明确针对 .NET 的 CI(如 CCNET 或 TeamCity),要么可以轻松配置以实现此目的。

If your question is restricted to NAnt, J.P. Boodhoo's tutorial provides an excellent overview on how to get your NAnt environment to productivity quickly. Don't bother it's from 2006 because the NAnt framework hasn't changed too much since.

If you're considering to use a more fancy build environment, then you might want to take a look at Rake, psake or even MSBuild (is this more fancy?). We still use NAnt because it has proven 100% sufficient to our needs.

If you would like to do the whole TDD thing, Continuous Integration is the next thing to add to your build environment. CruiseControl, CruiseControl.NET, TeamCity and Hudson/Jenkins are all good choices for that. Either they target CI for .NET explicitly (like CCNET or TeamCity) or they can be easily configured to do so.

悲喜皆因你 2024-10-27 02:39:27

这两本书都是最近更新的:

  1. Continuation Integration in .NET (2011)
    • 我很确定这本书有很多关于持续集成的有用知识。我还没有时间阅读它,所以我不能对此发表太多评论。
  2. 棕地应用程序开发
    在 .NET 中
    (2010)

    • 在第 69 页左右,它开始谈论 NAnt。整本书都涉及 TDD。请注意,尽管本书旨在将这些技术和工具添加到现有项目中,而不是新建项目中。

Both of these books are more recent and up to date:

  1. Continuous Integration in .NET (2011)
    • I'm pretty sure this book has a lot of helpful things to know about continuous integration. I haven't gotten around to reading it yet, so I can't comment much about it though.
  2. Brownfield Application Development
    in .NET
    (2010)

    • Around page 69 it starts talking about NAnt. Throughout the book it touches on TDD. Note though the book is geared towards adding these techniques and tools to existing projects, not greenfield.
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文