我按照here步骤操作,并在VS2015中安装了EntityFramework 7。
在 RunTests 下,上述说明请注意以下内容:
我们的测试是使用xUnit.net 2.0编写的,可以使用您的 最爱的跑步者我们建议使用内置的Visual Studio测试 跑步者或TestDriven.Net。
在VS2015中,执行 Test>运行>所有测试都会产生:
------ Discover test started ------
========== Discover test finished: 0 found (0:00:00.0990702) ==========
查看Running xUnit.net tests in Visual Studio表明您需要:
搜索(并安装)名为
的包xunit.runner.visualstudio
但是这样做会导致安装失败,无论是当前的stable还是预发行包;
Resolving conflicts for DNXCore,Version=v5.0...
Unable to find a version of package 'System.Dynamic.Runtime' that is compatible with version constraint '[4.0.0, )'.
Unable to find a version of package 'System.Text.RegularExpressions' that is compatible with version constraint '[4.0.10, )'.
Unable to find a version of package 'System.ComponentModel' that is compatible with version constraint '[4.0.0, )'.
Unable to find a version of package 'System.IO.FileSystem' that is compatible with version constraint '[4.0.0, )'.
Unable to find a version of package 'System.Collections.Concurrent' that is compatible with version constraint '[4.0.0, )'.
========== Finished ==========
NotFound https://az320820.vo.msecnd.net/v3-flatcontainer/microsoft.framework.primitives/index.json 1078ms
如何在没有TestDriven.Net许可证的情况下运行测试?