Hacker News new | ask | show | jobs
by jerf 6137 days 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.