Especially testing Squad's implementation. Instead of starting the GenServer process and sending it messages which involves other moving parts than the message handlers, we should test by calling the handle_* directly and test the response. This should make the tests a lot simpler and faster.
Currently, Spinner and Arena doesn't test the GenServer implementation at all, only the public APIs.
Especially testing Squad's implementation. Instead of starting the GenServer process and sending it messages which involves other moving parts than the message handlers, we should test by calling the
handle_*directly and test the response. This should make the tests a lot simpler and faster.Currently, Spinner and Arena doesn't test the GenServer implementation at all, only the public APIs.