在 Web 表单中使用 nUnitASP
我是单元测试的新手。有人问我 nUnitASP 可以用来测试 WebForms。并且已经集成在VS2008中。我无法在 VS2008 中找到任何专门用于单元测试 ASP Webforms 的方法。 虽然我知道 VS 为 UnitTesting 提供的本机方法,但我很清楚 NUnit 用作单独的 GUI。我正在从这里寻求任何建议...... 所以我的第一个问题是:
VS2008 现在与 NUnit 一起推出了吗? 在VS2008集成方法中测试ASP webforms需要做什么? 我可以使用 NUnit 做同样的事情吗? NUnit 和 nUnitASP 有什么区别?
非常感谢这方面的任何帮助/建议。
-苏米特
I am new in Unit Testing. I have been asked that nUnitASP can be used to test WebForms. and it is already integrated in VS2008. I am not able to find any way in VS2008 for unit Testing ASP Webforms specifically.
Though I know the native method VS provide for UnitTesting, I am quite aware of NUnit using as seperate GUI. I am seeking for any suggestions from here...
So my first question is :
Do VS2008 is coming with NUnit now?
What I need to do for testing ASP webforms in VS2008 integrated method?
Can I do the same using NUnit?
What is the difference between NUnit and nUnitASP?
Any help/suggestions in this regard are highly appreciated.
-Sumeet
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
看起来 NUnitASP 已不再开发(截至 2008 年 1 月):请参阅此处,不过看起来您可以还是下载吧。它是 NUnit 的扩展,并且不随 VS 2008 一起提供。
NUnit 可以在此处找到。 NUnit 提供了核心框架,NUnitASP 只是其扩展。
Looks like NUnitASP is no longer being developed (as of Jan 2008): see here, though looks like you could still download it. It's an extension to NUnit, and does not come with VS 2008.
NUnit can be found here. NUnit provides the core framework, and NUnitASP is just an extension on to it.
NUnit 不随 Visual Studio 一起提供。 Visual Studio Team System Developer Edition 附带 Web 测试功能,可用于基于 Web 的应用程序的某些单元测试。它的工作方式与 nNunitASP 不同。
NUnit does not come with Visual Studio. The Visual Studio Team System Developer Edition comes with a Web Test capability that can be used for some unit testing of web-based applications. It does not work the same way as nNunitASP.