How can I suppress nunit console output?

丶灬走出姿态 提交于 2019-12-11 01:34:58

问题


Is there a way to suppress nunit errors and failures displayed on console output? I tried using the command line options: /xml, /out, /err. But still get the output in console.


回答1:


From your use of the /xml option, I can see you are using an older version of NUnit, however, the answer is the same for newer ones as well.

There is no way to change the report output produced by the console runner. You can redirect the entire thing to a file, or even to the null device, but you can't suppress parts of it.



来源:https://stackoverflow.com/questions/35949477/how-can-i-suppress-nunit-console-output

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!