<blockquote style="margin-right: 0px;" dir="ltr"><div>Will I get the error from the crashing process in the error log or in the terminal?</div></blockquote><div> </div><div>If you run the code under test, separate from the common test framework, I would expect that you get the same output you'd get in production. That may or may not be good enough for you...</div>
<div> </div><div>This is what I like about eunit, btw: you can call the unit test function directly and it behaves just like in production. We ended up using eunit even for integration tests, with some small wrapper functions to make sure the necssary supervisors/applications are started/stopped. I imagine changing test frameworks may be expensive for you, though.</div>
<div> </div><div>Sincerely,</div><div> </div><div>jw</div><div><div clear="all"> </div><div>--</div><div>Americans might object: there is no way we would sacrifice our living standards for the benefit of people in the rest of the world. Nevertheless, whether we get there willingly or not, we shall soon have lower consumption rates, because our present rates are unsustainable. </div>
<div> </div><div>
 </div><div> </div><div> </div></div><div class="gmail_quote">On Sun, Aug 14, 2011 at 8:29 AM, Joel Reymont <span dir="ltr"><<a href="mailto:joelr1@gmail.com">joelr1@gmail.com</a>></span> wrote:<div> </div><blockquote style="margin: 0px 0px 0px 0.8ex; padding-left: 1ex; border-left-color: rgb(204, 204, 204); border-left-width: 1px; border-left-style: solid;" class="gmail_quote">
<div class="im"><div>
On Aug 13, 2011, at 5:48 PM, Jon Watte wrote:</div><div>
 </div><div>
> The question is: What behavior are you getting from the function under test? If it doesn't behave the way it's specified to, that should generate a test failure.</div><div>
 </div><div>
 </div></div>I do get a test failure, although I'm not testing a function.<div>
 </div><div>
I'm testing a system composed of various processes.</div><div>
 </div><div class="im"><div>
> Once you've detected that there is a test failure, you should be able to re-run the test manually (say, from command line) to debug it.</div><div>
 </div><div>
 </div></div>Will I get the error from the crashing process in the error log or in the terminal?<div>
 </div><div>
It's a pointless exercise if I do not.</div><div>
 </div><div class="im"><div>
> Is your request really something like: "When a CommonTest fails, how can I do post-mortem debugging on the failing test case"?</div><div>
 </div><div>
 </div></div>Yes but I would be content with simply seeing the errors from crashing processes in the Common Test raw log file.<div>
 </div><div>
I get the output from my invocation of error_log:error_report, etc. but I do not see errors from crashing processes.</div><div>
 </div><div>
badarg? undef? Nowhere to be found and must be guessed.</div><div>
 </div><div><div></div><div class="h5"><div>
--------------------------------------------------------------------------</div><div>
- for hire: mac osx device driver ninja, kernel extensions and usb drivers</div><div>
---------------------+------------+---------------------------------------</div><div>
<a href="http://wagerlabs.com" target="_blank">http://wagerlabs.com</a> | @wagerlabs | <a href="http://www.linkedin.com/in/joelreymont" target="_blank">http://www.linkedin.com/in/joelreymont</a></div><div>
---------------------+------------+---------------------------------------</div><div>
 </div><div>
 </div><div>
 </div><div>
 </div></div></div></blockquote></div><div> </div>