繁体   English   中英

nunit3-控制台运行期间发生FileNotFoundException

[英]FileNotFoundException during nunit3-console running

我尝试通过nunit3-console运行测试。 通过Visual Studio运行效果很好。 我执行以下命令:

$ nunit3-console ComplexUI.dll

但得到以下输入:

NUnit.Engine.NUnitEngineException : An exception occurred in the driver while loading tests.
  ----> System.IO.FileNotFoundException : ?? ??????? ????????? ???? ??? ?????? "nunit.framework, Version=3.11.0.0, Culture=neutral, PublicKeyToken=2638cd05610744eb" ???? ???? ?? ?? ????????????. ?? ??????? ????? ????????? ????.
--NUnitEngineException
An exception occurred in the driver while loading tests.

符号???? 可能是因为我所在的地区。

我不知道如何解决

无论如何,我已经找到了运行测试的替代方法。 我可以通过在安装解决方案文件ComplexUI.sln目录中运行dotnet test --no-build来做到这一点。 它仍然不能与nunit3-console 也许,这是当前版本的问题

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM