【问题标题】:Nunit 3.00 is not running testsNunit 3.00 没有运行测试
【发布时间】:2016-10-24 07:26:21
【问题描述】:

Nunit 3 没有运行测试,而我使用 2.64 运行测试,一切都像一个魅力。 在第 3 版上,我没有收到任何错误或任何东西。它只是不会运行。

我正在使用 Selenium-C# 和 Appium 运行我的测试。

【问题讨论】:

  • 您使用的是 Visual Studio 2015 吗?
  • 没有。我是不是该?我正在使用 VS2013

标签: c# selenium nunit appium nunit-3.0


【解决方案1】:

我从不使用Selenium-C# and Appium,但常见的问题是如果您开始使用NUnit 3NUnit Test Adapter

用于以前版本的 NUnit 2 的 NUnit 测试适配器将无法工作,测试不会出现在测试资源管理器等中。

要解决此问题,您必须安装 NUnit 3 Test Adapter

这里是包链接:

https://visualstudiogallery.msdn.microsoft.com/0da0f6bd-9bb6-4ae3-87a8-537788622f2d

【讨论】:

  • 假设他正在使用任何适配器,也就是说。 OP 实际上并没有说明他是如何尝试运行测试的。 :-)
猜你喜欢
  • 2014-01-03
  • 1970-01-01
  • 2011-02-24
  • 1970-01-01
  • 1970-01-01
  • 2017-01-16
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多