Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/asp.net-core/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Visual studio .NET Core:Nunit 3测试适配器在VS2015中运行其他测试_Visual Studio_Asp.net Core_Nunit 3.0 - Fatal编程技术网

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

Visual studio .NET Core:Nunit 3测试适配器在VS2015中运行其他测试,visual-studio,asp.net-core,nunit-3.0,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-n

在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
  }
}