[erlang-bugs] EUnit treats a process that kills itself as a successful test
Wed Dec 31 15:04:49 CET 2008
Here's my code:
In the shell, I run:
Is that really the intention?
Likewise, this test passes:
(The sleep is there to allow time for the child process to die, and the exit signal to be propagated).
Presumably the process running the test is trapping exits--but is that really appropriate? As in this last example, crashes in child processes won't cause the test to fail.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-bugs