Each report is in the form of an XML fragment. See docs at https://github.com/nunit/docs/wiki/Test-Result-XML-Format
I suggest you start by writing each one to a file. Then select only the events that are useful to you and extract the info you want.
Charlie
--
public class TestEventListner : ITestEventListener
{
public void OnTestEvent(string report)
{
this.WriteText(report);
}
private void WriteText(String result)
{
System.IO.File.WriteAllText(@"C:\Test\WriteLines2.txt", result);
}
}Thank you so much, i have one more question but can i run it extension via Visual Studio or it can run via nunit3-console.exe. In nunit3-console.exe it working perfect but when i tried to run in visual studio it not working. Do i need to config anything else.
--
You received this message because you are subscribed to the Google Groups "NUnit-Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nunit-discus...@googlegroups.com.
To post to this group, send email to nunit-...@googlegroups.com.
Visit this group at https://groups.google.com/group/nunit-discuss.
For more options, visit https://groups.google.com/d/optout.
After change my class name and also add Path="/NUnit/Engine/TypeExtensions/ITestEventListener" i got a new error message 'NUnitEngineException: Unable to locate ExtensionPoint for Type AutomationFrameWork.Base.ReportListener.TestListener. The Path /NUnit/Engine/TypeExtensions/ITestEventListener cannot be found.'