I really like the NUnit integration in D2005. But when I first started using it in a C# project I saw the following errors when I ran my test suite:
"System.UnauthorisedAccessException : Access to the path
"MyProjectTest.PDB" is denied."
…followed by:
"project nunit-gui.exe encountered an unhandled exception class
System.NullReferenceException with message 'Object reference not set to
an instance of an object.'.
I found a workaround on the newsgroups which has fixed the problem for me: Add /run to the end of the line in Run->Parameters. This causes the test suite to run as soon as the GUI comes up. For some reason this fixes the problem. in every case where I’ve encountered it. Thank you to Anthony Steele for posting the workaround.
I just submitted QC 14349 about this issue.
{ 1 } Comments
No problem
Post a Comment