There are several tabs in GUI runner of NUnit:
I understand that using Console.WriteLine (…) shows the messages in ‘Console.Out’ tab. My question is what other tabs are for and how can I log messages to them?
[EDIT]
I apologise as I realise that my original question wasn’t clear enough. What I intend to do is that create an extensive result report once all unit test cases are executed. So I was exploring the way various messages that can be logged while a test is run. I am looking forward to creating a result report like:
==== TEST1 starts ==== Start Time: 2009-03-26 11:15:13 AM Checking operation 1....OK Checking value of variable 'X': 52.56....OK End Time: 2009-03-26 11:15:19 AM Time taken to execute test: 0.00:00:06.000 ==== TEST2 starts ==== . .
Any suggestion how can I achieve this?
Settings for the tabs are in the NUnit options – see the docs here.
For instance, if you check Display Console Error Output then that tab will display text written to Console.Error by your tests.