shekharpro / mb-unit

Automatically exported from code.google.com/p/mb-unit
0 stars 0 forks source link

Console output not recorded when using xUnit v1.1 #479

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1.  Add a test containing only the line Console.WriteLine("Hello")
2.  Run the test via Icarus.
3.  Look at Exectuion Log for that test.

What is the expected output? What do you see instead?
I expected to see a gray box with the word "Hello" in it as it did in build 
763.  

What version of the product are you using? On what operating system?
Gallio 3.0.6.787, Windows Vista SP2, xUnit 1.1

Please provide any additional information below.

Original issue reported on code.google.com by old.epi....@gmail.com on 25 Jun 2009 at 5:43

GoogleCodeExporter commented 8 years ago
Seems to be related to xUnit...

Original comment by jeff.br...@gmail.com on 11 Aug 2009 at 10:59

GoogleCodeExporter commented 8 years ago
It seems xUnit v1.1 and more recent captures console output itself.  I have 
modified
the adapter to ensure this content gets included in the test log.

However, it also seems xUnit v1.1 disables all Debug/Trace listeners so no
Debug.WriteLine messages will be captured.  Dunno if this will be improved in 
xUnit v1.5.

Original comment by jeff.br...@gmail.com on 11 Aug 2009 at 12:05