I am unable to to output log messages to console via the Common.Logging framework in MbUnit tests run by TestDriven. I am not sure if it has to do with the way Gallio is registered with TestDriven. I followed the steps on this post ( Register a Gallio zip installation with TestDriven.Net ) to register Gallio with TestDriven manually because I don’t have admin rights to the machine.
The same logging mechanism worked in NUnit + TestDriven.
If you really want to write messages to the Output pane in Visual Studio when running TestDriven.NET you can use
Gallio.Framework.DiagnosticLog:However, the log messages won’t be associated to the tests and will show up as a separate section of the Gallio report. So in most cases you’re better off using the
Gallio.Framework.TestLogorSystem.Consoleand clicking on the Test Report link to see the results as Graham mentioned.