Loading...

nunit-discuss@googlegroups.com

[Prev] Thread [Next]  |  [Prev] Date [Next]

[nunit-discuss] Different results in nunit gui and console mikedrmfs Mon Feb 06 15:01:26 2012

The nunit-console runs without an error but nunit.exe (gui) gives this
error

OdeToFood.Tests.HomeControllerIndexTest.Puts_Message_In_ViewBag:
System.NullReferenceException : Object reference not set to an
instance of an object.

at OdeToFood.Controllers.HomeController.Index() in C:\websites
\OdeToFood\OdeToFood\Controllers\HomeController.cs:line 15
at OdeToFood.Tests.HomeControllerIndexTest.Puts_Message_In_ViewBag()
in C:\websites\OdeToFood\OdeToFood.Tests\HomeControllerTest.cs:line 17


Why does the gui get an error and the console run clean?
Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"NUnit-Discuss" group.
To post to this group, send email to [EMAIL PROTECTED]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/nunit-discuss?hl=en.