【发布时间】:2019-08-13 11:59:12
【问题描述】:
我尝试通过 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.dll移出bin目录? -
您是否有从项目中的外部文件读取的数据驱动测试?以这种方式触发您的测试将在 DLL 中运行每个测试...这是您所期望的吗?
-
是的,我已尝试将 .dll 从
bin目录中移出
标签: c# selenium-webdriver nunit-console