I want to display trace information on the Text Output tab in the NUnit GUI (version 2.5.7, target runtime 4.0):
Trace.Listeners.Add(new ConsoleTraceListener()); Trace.WriteLine("Hello NUnit");
This works fine when I launch the NUnit GUI from Visual Studio (2010) via Debug -> Launch External Application.
But when from the project file .nunit and the console runner - no. Why??
I did not find a solution, but a reason.
I have MyProject.Test.dll(contains the tests themselves) and MyProject.dll(the purpose of the tests).
MyProject.Test.dll
MyProject.dll
Trace.WriteLine() MyProject.dll, NUnit, .
Trace.WriteLine()
Trace.WriteLine() MyProject.Test.dll - . , , .
.
Source: https://habr.com/ru/post/1762292/More articles:NSDateFormatter EEE working day problem - objective-cRecognizing notes in recorded sound - Python - pythonDisabling Quoatation - rsync from bash - bashmysql - is it possible to set the default value of VARCHAR to NULL? - mysqlкак вызвать С# webservice из java - javaMS Access 2010: "sorting sequence not supported by the specified file format" - vbaCan I redirect a javascript request to another javascript action? - javascriptMySQL Custom Order - mysqlHow to extract results from Linq query? - c #MVC 2 и ASP.NET 4 Исключение проверки запроса - c#All Articles