<div dir="ltr"><div>Hi,</div><div><br></div><div>Could you please assist me in using common test.</div><div><br></div><div>I'm trying to ensure that a gen_statem:call/3 raises a {timeout, _} in a common test case.<br></div><div><br></div><div>At first I tried a catch because I thought it would be a throw but it catches nothing. </div><div><br></div><div>Digging into the gen_statem:call/3 code it appears that it uses erlang:raise/3 which stops the execution of the process, so that makes sense that catch does nothing.<br></div><div><br></div><div>I want to be sure that the process was stopped with the a particular reason, and pass the test if it does. </div><div><br></div><div>Is this possible in Common Test?<br></div><div><br></div><div>Thanks</div><div><br></div><div>Jared</div><div><br></div><div><br></div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"></div></div></div></div></div>