This project is read-only.


Show debug output DURING test.


Output from Debug.WriteLine, Trace.WriteLine, and Console.WriteLine don't appear in the test output window until the test has completed. This makes it difficult to show any status for long-running tests.


NUnit does this, so it is possible in ReSharper.
Closed Mar 8, 2013 at 2:15 PM by mattellis
Can't be done for xunit v1, will be part of the xunit v2 API.


BradWilson wrote Feb 27, 2013 at 1:45 AM

This is a limitation in, not the Resharper adapter.

We will be addressing this in v2 of

mj1856 wrote Feb 27, 2013 at 1:56 PM


cjwoolard wrote Mar 7, 2013 at 11:40 PM

This is a fairly significant limitation for our us (to the point where we have to hold off using xunit until it's resolved, which is unfortunate). I was curious if there were any plans to correct the issue in near future?

Thank you.

cjwoolard wrote Oct 13, 2013 at 11:19 PM

I tried updating to the latest XUnit v2 build (xunit.2.0.0-alpha-build2521) but I'm still not seeing output for either Console.WriteLine or Debug.WriteLine, are there any additional steps I need to take to enable output?

Thank you.

mattellis wrote Oct 14, 2013 at 11:09 AM

@cjwoolard xunit2 isn't going to support capturing of test output, due to parallelisation of tests - you don't know where the output is coming from. See the end of this thread on the xunit codeplex site for more:

Micah071381 wrote Aug 23, 2014 at 12:54 AM

That thread is gone, happen to have a new link?

mattellis wrote Aug 24, 2014 at 2:47 PM

Looks like it's gone gone gone. The closest I can find is this, but it's not the same thread: