NUnit error's modal window

I recently tried to run Nunit projet with some project that throws an error (ie : Object not set to a reference of an object).

I'm not sure this is a bug or a wish but here is the situation. When NUnit fails for other reason than test failure, it shows a modal window. This window waits for Abort-Retry-Ignore and FBServer waits too, event with a timeout  on the project.

Would it be possible to correct the NUnit action to trap those errors and log them with failure instead of waiting for a user input ?

Thank you

Hmm… I would have to look into this. The first task would be to reproduce the error you are seeing with NUnit. Do you have a simple test case we can look at? The other thing is that dealing with the gui under FBServer is next to impossible, as there is no window desktop, so no way to find the window and close it. Does NUnit write the error to stdout before showing the dialog? If so we may be able to detect that and kill it.

To reporoduce, you have to run Nunit with errors, no test error but code error (ie : Object reference not set to an instance of the object). I sadly have no idea if this is writtent to stdout.

Thank you.