在 windows 上使用单声道进行 Nunit ConsoleRunner 测试

NunitConsoleRunner test using mono on windows

我已经安装了 mono 并将 mono/bin 目录添加到 PATH。

我的方式 运行 测试: mono nunit3-console.exe C:\Test\bin\Debug\Test.dll

输出:

我尝试使用 --framework=mono 和 mono-4.0,但它不起作用。

程序集由 xbuild 编译。

编辑:运行 从单声道命令提示符 - 结果相同

这是 nunit 控制台问题 https://github.com/nunit/nunit-console/issues/34

这是前一段时间在代码审查中发现的。到目前为止,还没有用户投诉过它,所以它的优先级很低。我只是提高了优先级。