Making tracing work with NUnit

Stolen shamelessly from some newsgroup archive:

[TestFixtureSetUp]
public void Setup()
{
    Trace.Listeners.Add(new TextWriterTraceListener(Console.Out));
}

NUnit is the new “make a quick test GUI app with one button to check stuff,” and Trace is the new printf. Life is good.