<div dir="ltr">Hello,<div><br></div><div>Recently I've begun writing tests which need to do things in several threads. I'm curious as to what approaches other people have taken when doing this, and whether any of the CL test frameworks address this situation specifically.</div>
<div><br></div><div>Some of the things I've run into:</div><div><br></div><div>- detecting, handling, and reporting conditions that are raised in threads other than the main test/reporting thread</div><div>- ensuring that the main test thread waits for the other threads before checking for the correct results (and before returning)</div>
<div>- forcing things in different threads to happen at the same time (I've been using SBCL's timers for this)</div><div><br></div><div>Any thoughts or pointers toward best-practices here would be appreciated.</div>
<div><br></div><div>Thank you,</div><div>-Eli</div></div>