Hi everyone :

I'am writing some unit test with junit to test a server written in form of a
state machine to test the communication protocol,it seems the in white box
and black box testing mode,exceptions are not catched on the same way,so the
state machine transitions that handle the exceptions are not identical.

The server does not have the same behaviour,when the exception is generated
while making the white box testing the server go not into the following
transition :

*...@iohandlertransition(on = EXCEPTION_CAUGHT, in = MY_SESSION_OPEN, next
= MY_SESSION_ERROR)*

But in black box testing it does.

Does anyone already encounters this problem?

Thank you
Ismail

Reply via email to