11-22-2012 10:41 AM
I'm producing some tests that use C# libraries developed in house. These may on occassion throw an exception that I don't care about, but on the step that makes the call I end up with TestStand always reporting 'Error'. Is there some way to stop this happening? My Pass / Fail criteria should still be available, and so an exception that I don't care about is hiding the result from me.
11-23-2012 02:14 AM
An unhandled exception is always a problem. If TS would not take care of it, it would be passed on to the OS. So the OS would kill the task throwing the exception (Unhandled Exception error), which in that case would be the OS process calling into TS.
So i strongly recommend your collegues to implement proper exception handling in their code modules. If the exception is of no concern for you, they have to make sure that the exception never leaves the code module.
Norbert
11-23-2012 02:30 AM
Norbert,
Thanks for the input. Thinking about it (and with my limited knowledge of C#) I agree with your response. I'll go and beat the software engineers around the head until I get my own way.
Thanks,
Simon