News for hackers. Stuff that matters.
Re:Erlang/OTP by Example by elcritch on Monday October 22, 2018 @01:36AM (#18272428)
Yah, that's the error I ran into. Creating function wrappers to send messages works well for client api's. However, it doesn't help verify that you've implemented the `handle_cast` properly or dealing with messages from other places. Normally it's not to big of an issue.
Re:Erlang/OTP by Example by _asummers on Monday October 22, 2018 @07:56AM (#18273896)
Yeah ideally those APIs are well scoped enough to be able to unit test them, but I agree there's some piece missing there.