[erlang-questions] common test error handler

Joel Reymont joelr1@REDACTED
Mon Aug 1 17:30:44 CEST 2011


To be more precise, it appears that end_per_testcase is not called on a time trap, e.g. 

suite() ->
    [{timetrap, {seconds, 60}}].

Is this expected behavior?

On Aug 1, 2011, at 4:15 PM, Joel Reymont wrote:

> How do yo make sure that bits created in init_per_testcase are cleaned up even if the test itself fails?
> 
> It appears that end_per_testcase is not called in case of error. Am I right?

--------------------------------------------------------------------------
- for hire: mac osx device driver ninja, kernel extensions and usb drivers
---------------------+------------+---------------------------------------
http://wagerlabs.com | @wagerlabs | http://www.linkedin.com/in/joelreymont
---------------------+------------+---------------------------------------






More information about the erlang-questions mailing list