eunit
eunit copied to clipboard
Timeouts while debugging
Reported by Joern Barthel.
EUnit should not timeout during debugging sessions.
Environment: R11B-5 win32
If you compile (with debug_info) an erlang module such as the attached example and step debug (calling debug/0) through it, eunit will timeout.
If it's feasible I'd rather like to see that eunit uses the time spent in the tested process as a reference for it's (in this case default-) timeout.
Perhaps I should add some kind of timeout-override for running eunit while debugging. I have to go look through the timeout handling first before I can tell how easy it would be to do.
I find myself calling into the test code from the erlang shell, bypassing eunit whenever I need to debug a failing test.