如何添加NUnit的为ASP.NET MVC测试框架选项的Visual Web Developer 2008防爆preSS?
据的 Professional ASP.NET MVC 1.0 的第8页,如果你正在使用VS 2008标准版或Visual Web开发人员2008年防爆preSS,您将需要下载并安装NUnit的,MbUnit的或扩展的xUnit ASP.NET MVC的,以便[创建单元测试项目]对话框中显示。
According to Professional ASP.NET MVC 1.0, page 8, "If you are using VS 2008 Standard Edition or Visual Web Developer 2008 Express you will need to download and install the NUnit, MBUnit or XUnit extensions for ASP.NET MVC in order for [the Create Unit Test Project] dialog to be shown."
有没有这样的扩展可供下载NUnit的2.4.8?如果是的话我在哪里可以下载它从?
Is there such an extension available to download for NUnit 2.4.8? If so where can I download it from?
如果不是,我怎么设置?我看着 ASP.Net MVC和NUnit 问题和文章的How:在Visual Studio中添加自定义的MVC测试框架和ASP.NET MVC测试框架集成演练的。但他们都指运行 devenv的/设置
这似乎并没有可用于Visual Web开发人员2008年防爆preSS。有没有人得到创建单元测试项目对话框,NUnit的和VWD前preSS工作吗?怎么会这样?
If not, how can I set it up? I looked at the ASP.Net MVC and nUnit question and the articles How to: Add a Custom MVC Test Framework in Visual Studio and ASP.NET MVC Test Framework Integration Walkthrough. But they all refer to running devenv /setup
which doesn't seem to be available for Visual Web Developer 2008 Express. Has anyone gotten the Create Unit Test Project dialog working with NUnit and VWD Express? How so?
感谢
在2011年,现在最简单的方法是安装此的从Visual Studio画廊ASP.NET MVC NUnit的扩展。的好处是,这个扩展可以随着时间的推移进行更新,因此您将有最新的NUnit的MVC模板。
The easiest way now in 2011 is to install this ASP.NET MVC NUnit extension from the Visual Studio gallery. The nice part is that this extension can be updated over time so you will have the latest nunit mvc template.