简体   繁体   English

Nunit GUI界面

[英]Nunit GUI interface

I have succesfully made a test class that imports using using NUnit.Framework; 我成功地创建了一个using NUnit.Framework;导入的测试类using NUnit.Framework;

To the left i have a icon to run the test so far so good. 在左边我有一个图标来运行测试到目前为止这么好。

But how exactly do i use the external graphical interface of NUnit? 但我究竟如何使用NUnit的外部图形界面? If i try to create a new project it ask for a name, but when i click save nothing happends. 如果我尝试创建一个新项目,它会要求一个名称,但是当我点击保存没有任何事情发生时。

How exactly can i link my project to this GUI? 我如何将项目链接到此GUI?

In options i enabled Visual Studio support. 在选项中,我启用了Visual Studio支持。 Also i made a new project in the interface and tried to add VS project but i am running a ASP website, so i do not have a .proj file exentsion for that. 此外,我在界面中创建了一个新项目,并试图添加VS项目,但我正在运行一个ASP网站,所以我没有.proj文件exentsion为此。

What should i use for TTD when making a Asp website application? 在制作Asp网站应用程序时,我应该如何使用TTD? MS Test has proven horrible and was unable to get that to work. MS Test已被证明是可怕的,无法让它发挥作用。

Thanks in advance 提前致谢

My usual way of using the gui is to create a test class in C# in visual studio. 我通常使用gui的方法是在Visual Studio中用C#创建一个测试类。 Then open the DLL that is created when you compile the assembly. 然后打开编译程序集时创建的DLL。 It will show your tests and you can run them 它将显示您的测试,您可以运行它们

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM