.NET Core:Nunit 3测试适配器在VS2015中运行其他测试

时间:2016-10-07 11:41:51

标签: visual-studio asp.net-core nunit-3.0

在Windows 7上使用VS2015社区更新3,使用最后一个NUnit3。我只能“全部运行”测试,其他选项(Ctrl + R,Ctrl + T或运行选定测试)在大多数情况下执行不相关的测试,甚至从其他类。 我还注意到,TestExplorer中工具提示中的测试名称可能不等于列表中悬停项目中的测试名称。

project.json:

{
  "dependencies": { 

    "NUnit": "3.4.1",
    "NUnitLite": "3.4.1",
    "dotnet-test-nunit": "3.4.0-alpha-2"
  },

  "frameworks": {
    "net461": {
    }
  },

  "testRunner": "nunit",

  "buildOptions": {
    "emitEntryPoint": true
  }
}

0 个答案:

没有答案
相关问题