3 ms·
To unit test an asynchronous operation, you need an asynchronous language or library. In Erlang you hardly even notice because the language natively supports it
by jerf 17y ago
To unit test an asynchronous operation, you need an asynchronous language or library. In Erlang you hardly even notice because the language natively supports it. In Perl I've hacked some stuff up with POE but it's way more painful. But once you have the asynchronous capability, it's not much different than writing a normal unit test.