- android - 多次调用 OnPrimaryClipChangedListener
- android - 无法更新 RecyclerView 中的 TextView 字段
- android.database.CursorIndexOutOfBoundsException : Index 0 requested, 光标大小为 0
- android - 使用 AppCompat 时,我们是否需要明确指定其 UI 组件(Spinner、EditText)颜色
使用时:
using Microsoft.VisualStudio.TestTools.UnitTesting
它在 .VisualStudio 下给我一个引用错误。这是我需要的 NuGet 包吗?我读到我可以进去获取 dll,但是我应该把 dll 放在我的项目中的什么地方。我会将其添加到哪个文件夹?
Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll
最佳答案
你必须添加一个 reference到 dll。
In Solution Explorer, double-click the My Project node for the project.
In the Project Designer, click the References tab.
Click the Add button to open the Add Reference dialog box.
In the Add Reference dialog box, select "Microsoft.VisualStudio.QualityTools.UnitTestFramework", then click OK.
关于c# - Microsoft.VisualStudio.TestTools.UnitTesting 给出错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9730929/
我正在从 unittest 转换为 testtools 以并行运行我的 Python 测试。 我想知道在使用 testtools.ConcurrentStreamTestSuite 时是否有办法限制同
我需要找到 Microsoft.VisualStudio.TestTools.UITest.Common.dll Microsoft.VisualStudio.TestTools.UITest.Ext
我已将 ODL Netconf 测试工具 (netconf-testtool-1.1.0-Boron-executable.jar) 部署到我的 Nitrogen ODL Controller 上,以
使用时: using Microsoft.VisualStudio.TestTools.UnitTesting 它在 .VisualStudio 下给我一个引用错误。这是我需要的 NuGet
While starting open daylight netconf test tool simulator I am getting the following error: “java -ja
我正在开发一个 Windows 商店应用程序,它接受用户输入(数学问题),使用 prolog 处理它并输出答案。我添加了 Microsoft.VisualStudio.QualityTools.Uni
在Microsoft.VisualStudio.TestTools.UnitTesting命名空间,有方便的静态类 Assert处理测试中发生的断言。 让我感到困扰的是,大多数方法都极度重载,最重要的
我正在使用 C# VS2008 中的 Xml 数据源编写数据驱动的单元测试。 属性看起来像这样,一切都运行良好。 [DeploymentItem("HtmlSchemaUrls.xml")]
我可以使用 Microsoft::VisualStudio::TestTools::UnitTesting 来测试 C++ 代码吗?我的意思是我已经有一个不使用 .NET 的现有 C++ 项目。 现在
我一直在使用 Python 的 unittest 框架,但后来决定改用 testtools。在 unittest 中,您可以从脚本中调用测试,但 testtools 似乎不提供相同的功能。其文档仅显示
我有一个 Web 应用程序,它通过 QueueBackgroundWorkItem 在后台执行一些处理。 我正在为应用程序中的功能连接单元测试,当它尝试调用它时,我收到以下错误: System.Inv
我在 C# visual studio 项目中遇到以下错误: The type or namespace name 'VisualStudio' does not exist in the names
我用 NUnit用于 Mac 上的 Mono/C#,但我需要使用 Microsoft.VisualStudio.TestTools.UnitTesting用于单元测试。 Microsoft TestT
假设我有一个单元测试项目UnitTests.dll: using System; using System.Text; using System.Collections.Generic; using
我正在尝试在 Sharpdevelop 中构建一个开源项目,但测试未编译,因为它引用了 Microsoft.VisualStudio.TestTools.UnitTesting 命名空间。 我没有 V
我正在使用以下代码行使用 msbuild 编译 .net 3.5 解决方案: msbuild.exe n:\temp\Thisnight.sln /p:Configuration=Debug /v:d
MSDN 文档中 Assert.Equals() 的说明: 不要使用这种方法。 就是这样,完整的解释。呃……好吧,但是……为什么会在那里? 它是框架早期版本中不推荐使用的方法吗?应该只由其他 Micr
我将包含一些单元测试项目的 VS2008 解决方案转换为 VS2010。转换后,我尝试编译解决方案,但出现以下错误: The type or namespace name 'VisualStudio'
我们最近从 Visual Studio 2013 切换到 2015,Microsoft 测试管理器也是如此。 我创建 CodedUI 测试的方式与我在 VS2013 中创建它的方式相同。将它与测试用例
我是 C#、.NET 和 VS 的新手;使用 VS 2013 旗舰版。我正在尝试使用似乎是“VS 方式”但无法弄清楚的方式创建单元测试。 看起来罪魁祸首是我无权访问 Microsoft.VisualS
我是一名优秀的程序员,十分优秀!