简体   繁体   English

NUnit 2.5.9和WebAii

[英]NUnit 2.5.9 and WebAii

I'm attempting to write my own NUnit tests for a Silverlight application using WebAii. 我正在尝试使用WebAii为Silverlight应用程序编写自己的NUnit测试。 I've been attempting to follow a rather detailed blog over at http://borntocode.co.uk/page/Setting-Up-a-WebAii-Test-Project-with-NUnit.aspx however I simply can't find NUnit.Core.TestContext.Out.WriteLine 我一直试图在http://borntocode.co.uk/page/Setting-Up-a-WebAii-Test-Project-with-NUnit.aspx上关注一个相当详细的博客,但是我根本找不到NUnit .Core.TestContext.Out.WriteLine

The blog is using version 2.5.7 however I'm using 2.5.9 and can't find this. 博客使用的是2.5.7版,但是我使用的是2.5.9版,找不到此版本。 I wouldn't have expected such a major section of NUnit (allowing direction of error messages) to have moved so drastically. 我不希望NUnit这样的主要部分(允许出现错误消息的方向)如此剧烈地移动。 Am I missing something? 我想念什么吗?

TestExecutionContext等同于2.6中的TestContext

The TestContext appears to exist under NUnit.Framework instead of NUnit.Core. TestContext似乎存在于NUnit.Framework下,而不是NUnit.Core下。 I'm not sure if it still has the properties you are expecting 我不确定它是否仍然具有您期望的属性

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

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