xUnit runner eats system diagnostic output

Problem When using xUnit and constructs like Debug.WriteLine the DbgView-tool does not show the written output anymore. Solution Add a new Listener – for exa...

Problem

When using xUnit and constructs like Debug.WriteLine the DbgView-tool does not show the written output anymore.

Solution

Add a new Listener – for example:

Debug.Listeners.Add(new DefaultTraceListener());