这是我的配置:
构建成功很好,但是测试发现显示了错误,并且发现了0条测试。
错误日志:
Exception NUnit.Engine.NUnitEngineException, Exception thrown discovering tests in C:\projects\~
The NUnit 3.0 driver does not support the portable version of NUnit.
Use a platform specific runner.
NUnit Adapter 3.0.10.0: Test discovery complete.
Discover test finished: 0 found发布于 2016-05-27 17:24:16
当运行NUnit 3适配器(正确名称)版本3.0.10时,您将使用NUnit 3.0.1运行测试。如果测试使用3.2.1框架,那么就有可能出现不兼容。NUnit运行程序总是向后兼容。例如,您可以使用NUnit 3.2来运行NUnit 3.0测试,但事实并非如此。
您所看到的消息实际上是误导性的,最近在代码中进行了更改。它假设在发生序列化异常时正在运行可移植测试。
https://stackoverflow.com/questions/37487454
复制相似问题