在 VS2010 Express 中对 vb.net 进行单元测试

发布于 2024-10-03 14:44:46 字数 102 浏览 0 评论 0原文

有哪些简单简单单元测试框架可与 Visual Studio 2010 Express vb.net 一起使用?

有没有针对此的好的教程?

What are some easy and simple unit testing frameworks to use with Visual Studio 2010 Express vb.net?

Are there any good tutorials geared towards this?

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

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

发布评论

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

评论(2

薄情伤 2024-10-10 14:44:46

这可能不再是真的,但以前版本的 VS Express 无法安装任何插件。这意味着您无法使用集成的测试运行程序,但这确实没什么大不了的。

最坏的情况是您使用 VS 编写测试并编译它们,然后使用 VS 外部的测试运行程序手动运行测试。最常见的 .NET 单元测试平台是 nUnit,它包含一个独立的测试运行器。

It may not be true anymore, but previous versions of VS Express weren't able to install any plugins. This meant that you couldn't use the integrated test-runners, but that's really not that big of a deal.

Worst case is that you use VS to write your tests and compile both, then manually run your tests using their testrunner external to VS. The most common unit-testing platform for .NET is nUnit which includes a standalone test runner.

醉南桥 2024-10-10 14:44:46

您当然可以 为 VS 2010 Express C# 安装 nUnit(我今天早上刚刚尝试过),所以我认为你可以为 VB 安装 nUnit。该链接是 VS Express 2008 的教程/演示,但它在我的 Express 2010 中工作——同样是 C#。

我还找到了一个旧的 使用 nUnit 和 VS 2005 Express VB 的教程

参见另外:


You can certainly install nUnit for VS 2010 Express C# (I just tried this out this morning), so I would think you could for VB. The link is a tutorial/demo for VS Express 2008, but it worked in my Express 2010 -- again, C#.

I also found a older tutorial using nUnit and VS 2005 Express VB

See also:


~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文