是否可以将NUnit与VB.net Express Edition集成?最好的方法是什么? [英] Is it possible to integrate NUnit with VB.net Express Edition? Which is the best way?

查看:109
本文介绍了是否可以将NUnit与VB.net Express Edition集成?最好的方法是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是一名Java开发人员,正在为一个小项目学习VB.net.在使用Java进行编码时,由于大多数IDE已经进行了区域集成,因此我们不必考虑如何将IDE与我们的单元测试框架集成在一起.

I'm a Java Developer wich is learning VB.net for a small project. While coding in Java, we don't have to think a lot about how to integrate our IDE with our unit test framework because most of the IDEs already area integrated.

但是,现在我正在一个主要要求使用VB.net Express Edition的项目中,是否可以将此IDE与NUnit集成?我怎样才能做到这一点?有更好的方法来完成这项任务吗?我该怎么办?

But now that I'm working on a project which the main requirement is to use VB.net Express Edition, is it possible to integrate this IDE with NUnit? How can I do that? Is there a better practice for this task? What should I do?

不,我们不能选择使用Visual Studio,而只能使用VB.net的Express Edition

No, we can't opt to use Visual Studio, only the Express Edition of VB.net

推荐答案

您可以添加一个测试项目,并引用nunit.framework DLL.如果可以(通过项目属性)以快速方式设置启动程序,则可以将测试项目的启动程序设置为NUnit框架GUI.我不确定Express是否支持...

You can add a test project, reference the nunit.framework DLL. If you can set the startup program in express (via project properties), you can set the startup program for the test project to the NUnit framework GUI. I wasn't sure if express supported that...

此外,您可以独立运行NUnit.打开NUnit,指向测试项目DLL,然后NUnit在重新编译时刷新.

Additionally, you can run NUnit stand-alone; open NUnit, point to the test project DLL, and NUnit refreshes as you recompile.

HTH.

这篇关于是否可以将NUnit与VB.net Express Edition集成?最好的方法是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆