[英]Pass parameters from nunit3-console to TestFixture constructor, not to TestMethod
[英]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.